Christoph Berg pushed to branch alternatives at Debian GIS Project / postgis
Commits:
1d026f34 by Christoph Berg at 2019-07-16T14:02:53Z
Remove alternatives before undiverting files
- - - - -
1 changed file:
- debian/postgresql-generic-postgis-scripts.prerm.in
Changes:
=====================================
debian/postgresql-generic-postgis-scripts.prerm.in
=====================================
@@ -7,11 +7,6 @@ MAJOR_VERSION="3"
case $1 in
remove)
- for ext in postgis postgis_raster postgis_sfcgal postgis_tiger_geocoder
postgis_topology address_standardizer address_standardizer_data_us; do
- dpkg-divert --package
postgresql-@PGVERSION@-postgis-$MAJOR_VERSION-scripts --rename \
- --remove $DIR/$ext.control
- done
-
# remove our alternatives
update-alternatives --remove postgis.control
$DIR/postgis-$MAJOR_VERSION.control
@@ -21,6 +16,12 @@ case $1 in
# are installed, and one of the new versions is removed)
update-alternatives --remove postgis.control $DIR/postgis-old.control
+ # move any diverted files back
+ for ext in postgis postgis_raster postgis_sfcgal postgis_tiger_geocoder
postgis_topology address_standardizer address_standardizer_data_us; do
+ dpkg-divert --package
postgresql-@PGVERSION@-postgis-$MAJOR_VERSION-scripts --rename \
+ --remove $DIR/$ext.control
+ done
+
;;
esac
View it on GitLab:
https://salsa.debian.org/debian-gis-team/postgis/commit/1d026f347bdefcd7cc11c8ed49345e76c721abb9
--
View it on GitLab:
https://salsa.debian.org/debian-gis-team/postgis/commit/1d026f347bdefcd7cc11c8ed49345e76c721abb9
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel