[debian-edu-commits] [Git][debian-edu/debian-edu-artwork][master] Clean up obsolete ldm-theme alternative on upgrades. (Closes: #986535)
Wolfgang Schweer
gitlab at salsa.debian.org
Wed Apr 7 12:43:58 BST 2021
Wolfgang Schweer pushed to branch master at Debian Edu / debian-edu-artwork
Commits:
b78e85ec by Andreas Beckmann at 2021-04-07T13:40:39+02:00
Clean up obsolete ldm-theme alternative on upgrades. (Closes: #986535)
Signed-off-by: Wolfgang Schweer <wschweer at arcor.de>
- - - - -
3 changed files:
- debian/changelog
- + debian/debian-edu-artwork-buster.preinst
- + debian/debian-edu-artwork-softwaves.preinst
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+debian-edu-artwork (2.11.5-3) UNRELEASED; urgency=medium
+
+ * Clean up obsolete ldm-theme alternative on upgrades. (Closes: #986535)
+
+ -- Andreas Beckmann <anbe at debian.org> Wed, 07 Apr 2021 10:22:28 +0200
+
debian-edu-artwork (2.11.5-2) unstable; urgency=medium
[ Wolfgang Schweer ]
=====================================
debian/debian-edu-artwork-buster.preinst
=====================================
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+set -e
+
+#DEBHELPER#
+
+EDUTHEME="buster"
+
+if [ "$1" = "upgrade" ]; then
+ if dpkg --compare-versions "$2" lt-nl "2.11.5-3~" ; then
+ # no longer managed by update-debian-edu-artwork-$EDUTHEME
+ update-alternatives --remove ldm-theme /usr/share/ldm/themes/debian-edu-$EDUTHEME
+ fi
+fi
=====================================
debian/debian-edu-artwork-softwaves.preinst
=====================================
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+set -e
+
+#DEBHELPER#
+
+EDUTHEME="softwaves"
+
+if [ "$1" = "upgrade" ]; then
+ if dpkg --compare-versions "$2" lt-nl "2.11.5-3~" ; then
+ # no longer managed by update-debian-edu-artwork-$EDUTHEME
+ update-alternatives --remove ldm-theme /usr/share/ldm/themes/debian-edu-$EDUTHEME
+ fi
+fi
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-artwork/-/commit/b78e85ec9edf6e458af9cc657e5a25a93a9dae03
--
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-artwork/-/commit/b78e85ec9edf6e458af9cc657e5a25a93a9dae03
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/debian-edu-commits/attachments/20210407/33205933/attachment-0001.htm>
More information about the debian-edu-commits
mailing list