Remove references to long gone KDE3 globals in maintainer scripts.
This commit is contained in:
2
debian/changelog
vendored
2
debian/changelog
vendored
@@ -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
6
debian/postinst
vendored
@@ -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
6
debian/postrm
vendored
@@ -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
5
debian/preinst
vendored
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user