From 8c2123d6d4138e23f6d85136ad1d2db7872d9af2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20COUDERC?= Date: Fri, 2 Dec 2016 20:12:45 +0000 Subject: [PATCH] =?UTF-8?q?Remove=20upgrade=20directives=20for=20totally?= =?UTF-8?q?=20obsolete=20package=20versinons=20(0.3.x=E2=80=A6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/preinst | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/debian/preinst b/debian/preinst index aa621a4..75b91cb 100644 --- a/debian/preinst +++ b/debian/preinst @@ -5,18 +5,6 @@ set -e #DEBHELPER# 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 \ - /usr/share/images/desktop-base/Splash-Debian.png - update-alternatives --remove gnome-splash \ - /usr/share/images/desktop-base/Splash-EvolvingTux.png - update-alternatives --remove gnome-splash \ - /usr/share/images/desktop-base/Splash-Debian_red.png - - dpkg-divert --package desktop-base --rename \ - --divert /usr/share/pixmaps/splash/gnome-splash.png.orig \ - --remove /usr/share/pixmaps/splash/gnome-splash.png - fi if dpkg --compare-versions ${2} lt "9.0.0~"; then # Remove alternative for desktop splash we don’t ship anymore