From de9bbe11b30693e3234ad8b6ef0d1e025d15ecb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Tue, 10 Oct 2006 14:06:58 +0000 Subject: [PATCH] =?UTF-8?q?*=20Add=20artworks=20by=20Andr=C3=83=C2=A9=20Lu?= =?UTF-8?q?iz=20Rodrigues=20Ferreira.=20*=20Register=20these=20artworks=20?= =?UTF-8?q?as=20alternatives=20with=20the=20highest=20priority=20(40),=20?= =?UTF-8?q?=20=20and=20lower=20the=20other=20priorities.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/changelog | 6 ++++-- debian/postinst | 26 ++++++++++++++++++-------- debian/prerm | 8 +++++++- 3 files changed, 29 insertions(+), 11 deletions(-) diff --git a/debian/changelog b/debian/changelog index 2b7a32a..ab973a5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,12 @@ desktop-base (0.3.18) UNRELEASED; urgency=low - * Add Artworks by André Luiz Rodrigues Ferreira. + * Add artworks by André Luiz Rodrigues Ferreira. - SVG background, backgrounds/debian-blueish-wallpaper.svg. - PNG splash, splash/gnome-splash-curves.png. + * Register these artworks as alternatives with the highest priority (40), + and lower the other priorities. - -- Loic Minier Mon, 9 Oct 2006 23:00:57 +0200 + -- Loic Minier Tue, 10 Oct 2006 16:05:51 +0200 desktop-base (0.3.17) unstable; urgency=low diff --git a/debian/postinst b/debian/postinst index 6bf4ec9..633b35c 100644 --- a/debian/postinst +++ b/debian/postinst @@ -15,37 +15,47 @@ if [ "$1" = "configure" -o "$1" = "abort-upgrade" ]; then update-alternatives --install \ /usr/share/images/desktop-base/desktop-background \ desktop-background \ - /usr/share/images/desktop-base/debblue-1600x1200.png 40 + /usr/share/images/desktop-base/debian-blueish-wallpaper.svg 40 update-alternatives --install \ /usr/share/images/desktop-base/desktop-background \ desktop-background \ - /usr/share/images/desktop-base/debian-background.svg 30 + /usr/share/images/desktop-base/debblue-1600x1200.png 30 update-alternatives --install \ /usr/share/images/desktop-base/desktop-background \ desktop-background \ - /usr/share/images/desktop-base/bluedeb-1024x768.jpg 20 + /usr/share/images/desktop-base/debian-background.svg 20 update-alternatives --install \ /usr/share/images/desktop-base/desktop-background \ desktop-background \ - /usr/share/images/desktop-base/Debian.jpg 20 + /usr/share/images/desktop-base/bluedeb-1024x768.jpg 10 + + update-alternatives --install \ + /usr/share/images/desktop-base/desktop-background \ + desktop-background \ + /usr/share/images/desktop-base/Debian.jpg 10 # Alternatives for the splash update-alternatives --install \ /usr/share/images/desktop-base/desktop-splash \ desktop-splash \ - /usr/share/images/desktop-base/Splash-debblue.png 40 + /usr/share/images/desktop-base/gnome-splash-curves.png 40 update-alternatives --install \ /usr/share/images/desktop-base/desktop-splash \ desktop-splash \ - /usr/share/images/desktop-base/Splash-Debian.png 20 + /usr/share/images/desktop-base/Splash-debblue.png 30 update-alternatives --install \ /usr/share/images/desktop-base/desktop-splash \ desktop-splash \ - /usr/share/images/desktop-base/Splash-Debian_red.png 20 + /usr/share/images/desktop-base/Splash-Debian.png 10 + + update-alternatives --install \ + /usr/share/images/desktop-base/desktop-splash \ + desktop-splash \ + /usr/share/images/desktop-base/Splash-Debian_red.png 10 -fi \ No newline at end of file +fi diff --git a/debian/prerm b/debian/prerm index 8df3541..b58f449 100644 --- a/debian/prerm +++ b/debian/prerm @@ -4,6 +4,9 @@ if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then # remove background alternatives + update-alternatives --remove desktop-background \ + /usr/share/images/desktop-base/debian-blueish-wallpaper.svg + update-alternatives --remove desktop-background \ /usr/share/images/desktop-base/debblue-1600x1200.png @@ -17,6 +20,9 @@ if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then /usr/share/images/desktop-base/Debian.jpg # remove splash alternatives + update-alternatives --remove desktop-splash \ + /usr/share/images/desktop-base/gnome-splash-curves.png + update-alternatives --remove desktop-splash \ /usr/share/images/desktop-base/Splash-debblue.png @@ -25,4 +31,4 @@ if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then update-alternatives --remove desktop-splash \ /usr/share/images/desktop-base/Splash-Debian_red.png -fi \ No newline at end of file +fi