QGIS/debian/qgis-providers-common.postinst
Nyall Dawson 5458e62889 Ship a seperate srs.db file for proj >= 6 builds
It's too dangerous to reuse the existing one, as it breaks the
ability to run multiple versions of qgis (i.e. proj < 6 and proj >= 6)
on the same machine

Fixes #30569
2019-07-16 07:07:31 +10:00

11 lines
285 B
Bash
Executable File

#!/bin/sh
set -e
if [ "$1" = "configure" ] && [ -x /usr/lib/qgis/crssync ]; then
cp /usr/share/qgis/resources/srs-template.db /usr/share/qgis/resources/srs.db
cp /usr/share/qgis/resources/srs6-template.db /usr/share/qgis/resources/srs6.db
dpkg-trigger qgis-crssync
fi
#DEBHELPER#