[Git][debian-gis-team/grass][experimental] Use grass-gui.maintscript for dpkg-maintscript-helper commands.
Bas Couwenberg
gitlab at salsa.debian.org
Tue Jan 15 18:02:20 GMT 2019
Bas Couwenberg pushed to branch experimental at Debian GIS Project / grass
Commits:
773d465b by Bas Couwenberg at 2019-01-15T18:02:11Z
Use grass-gui.maintscript for dpkg-maintscript-helper commands.
- - - - -
6 changed files:
- debian/changelog
- debian/grass-gui.lintian-overrides
- + debian/grass-gui.maintscript
- − debian/grass-gui.postinst
- − debian/grass-gui.postrm
- − debian/grass-gui.preinst
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+grass (7.6.0~rc1-1~exp2) UNRELEASED; urgency=medium
+
+ * Use grass-gui.maintscript for dpkg-maintscript-helper commands.
+
+ -- Bas Couwenberg <sebastic at debian.org> Tue, 15 Jan 2019 19:01:01 +0100
+
grass (7.6.0~rc1-1~exp1) experimental; urgency=medium
* New upstream release candidate.
=====================================
debian/grass-gui.lintian-overrides
=====================================
@@ -4,3 +4,6 @@ grass-gui: dependency-on-python-version-marked-for-end-of-life (Depends: python)
# Not a problem
grass-gui: package-contains-documentation-outside-usr-share-doc usr/lib/grass*/gui/wxpython/README
+# grass-gui.maintscript is used as recommended
+grass-gui: maintainer-script-should-not-use-dpkg-maintscript-helper *
+
=====================================
debian/grass-gui.maintscript
=====================================
@@ -0,0 +1,4 @@
+# Switch directories to symlinks (#776349)
+dir_to_symlink /usr/lib/grass64/etc/gui/icons /usr/share/grass64/etc/gui/icons 7.0.0~rc1-1~exp1~
+dir_to_symlink /usr/lib/grass64/etc/gui/images /usr/share/grass64/etc/gui/images 7.0.0~rc1-1~exp1~
+dir_to_symlink /usr/lib/grass64/bwidget/images /usr/share/grass64/bwidget/images 7.0.0~rc1-1~exp1~
=====================================
debian/grass-gui.postinst deleted
=====================================
@@ -1,16 +0,0 @@
-#!/bin/sh
-set -e
-
-#DEBHELPER#
-
-# Switch directories to symlinks (#776349)
-if dpkg-maintscript-helper supports dir_to_symlink 2>/dev/null; then
- dpkg-maintscript-helper dir_to_symlink \
- /usr/lib/grass64/etc/gui/icons /usr/share/grass64/etc/gui/icons 7.0.0~rc1-1~exp1~ -- "$@"
-
- dpkg-maintscript-helper dir_to_symlink \
- /usr/lib/grass64/etc/gui/images /usr/share/grass64/etc/gui/images 7.0.0~rc1-1~exp1~ -- "$@"
-
- dpkg-maintscript-helper dir_to_symlink \
- /usr/lib/grass64/bwidget/images /usr/share/grass64/bwidget/images 7.0.0~rc1-1~exp1~ -- "$@"
-fi
=====================================
debian/grass-gui.postrm deleted
=====================================
@@ -1,16 +0,0 @@
-#!/bin/sh
-set -e
-
-#DEBHELPER#
-
-# Switch directories to symlinks (#776349)
-if dpkg-maintscript-helper supports dir_to_symlink 2>/dev/null; then
- dpkg-maintscript-helper dir_to_symlink \
- /usr/lib/grass64/etc/gui/icons /usr/share/grass64/etc/gui/icons 7.0.0~rc1-1~exp1~ -- "$@"
-
- dpkg-maintscript-helper dir_to_symlink \
- /usr/lib/grass64/etc/gui/images /usr/share/grass64/etc/gui/images 7.0.0~rc1-1~exp1~ -- "$@"
-
- dpkg-maintscript-helper dir_to_symlink \
- /usr/lib/grass64/bwidget/images /usr/share/grass64/bwidget/images 7.0.0~rc1-1~exp1~ -- "$@"
-fi
=====================================
debian/grass-gui.preinst deleted
=====================================
@@ -1,16 +0,0 @@
-#!/bin/sh
-set -e
-
-#DEBHELPER#
-
-# Switch directories to symlinks (#776349)
-if dpkg-maintscript-helper supports dir_to_symlink 2>/dev/null; then
- dpkg-maintscript-helper dir_to_symlink \
- /usr/lib/grass64/etc/gui/icons /usr/share/grass64/etc/gui/icons 7.0.0~rc1-1~exp1~ -- "$@"
-
- dpkg-maintscript-helper dir_to_symlink \
- /usr/lib/grass64/etc/gui/images /usr/share/grass64/etc/gui/images 7.0.0~rc1-1~exp1~ -- "$@"
-
- dpkg-maintscript-helper dir_to_symlink \
- /usr/lib/grass64/bwidget/images /usr/share/grass64/bwidget/images 7.0.0~rc1-1~exp1~ -- "$@"
-fi
View it on GitLab: https://salsa.debian.org/debian-gis-team/grass/commit/773d465bd8189290601f4cde36877b8d871e5f58
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/grass/commit/773d465bd8189290601f4cde36877b8d871e5f58
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20190115/9e81daa9/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list