QGIS/debian/qgis-providers-common.prerm
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

12 lines
279 B
Bash
Executable File

#!/bin/sh
set -e
if [ "$1" = "remove" ] && [ -e /usr/share/qgis/resources/srs.db ]; then
rm -f /usr/share/qgis/resources/srs.db || true
fi
if [ "$1" = "remove" ] && [ -e /usr/share/qgis/resources/srs6.db ]; then
rm -f /usr/share/qgis/resources/srs6.db || true
fi
#DEBHELPER#