Remove references to long gone KDE3 globals in maintainer scripts.

This commit is contained in:
Aurélien COUDERC
2016-09-20 06:21:55 +00:00
parent 0d03afe26a
commit 2d557cc430
4 changed files with 2 additions and 17 deletions

2
debian/changelog vendored
View File

@@ -3,6 +3,8 @@ desktop-base (9.0.0~exp1) UNRELEASED; urgency=medium
[ Aurélien COUDERC ]
* Fix lintian warning command-with-path-in-maintainer-script in
postinst script.
* Remove references to long gone KDE3 globals in maintainer scripts.
(Closes #659549)
-- Coucouf <coucouf@Grumly> Tue, 06 Sep 2016 08:14:12 +0200

6
debian/postinst vendored
View File

@@ -1,12 +1,6 @@
#!/bin/bash -e
set -e
#DEBHELPER#
if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
dpkg-maintscript-helper rm_conffile /etc/kde3/kdeglobals 6.0.1 -- "$@"
fi
if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl 7; then
update-alternatives --remove desktop-grub /usr/share/images/desktop-base/moreblue-orbit-grub.png
fi

6
debian/postrm vendored
View File

@@ -1,12 +1,6 @@
#!/bin/sh -e
set -e
#DEBHELPER#
if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
dpkg-maintscript-helper rm_conffile /etc/kde3/kdeglobals 6.0.1 -- "$@"
fi
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
if which update-grub2 > /dev/null ; then
update-grub2 || true

5
debian/preinst vendored
View File

@@ -1,11 +1,6 @@
#!/bin/sh -e
set -e
#DEBHELPER#
if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
dpkg-maintscript-helper rm_conffile /etc/kde3/kdeglobals 6.0.1 -- "$@"
fi
if [ "${1}" = "upgrade" ]; then
if dpkg --compare-versions ${2} lt 0.3.11 && dpkg --compare-versions ${2} gt 0.3.5; then
update-alternatives --remove gnome-splash \