From 6f8b29e1fa4d7c4f8676dbded0b9fde3e9acd207 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 1 Jun 2013 02:04:45 -0500 Subject: Add initial copy of the old Debian desktop-base package to the Debian and Ubuntu packaging files --- .../usplash-theme-debian-desktop-trinity.postinst | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ubuntu/maverick/defaultsettings/desktop-base/debian/usplash-theme-debian-desktop-trinity.postinst (limited to 'ubuntu/maverick/defaultsettings/desktop-base/debian/usplash-theme-debian-desktop-trinity.postinst') diff --git a/ubuntu/maverick/defaultsettings/desktop-base/debian/usplash-theme-debian-desktop-trinity.postinst b/ubuntu/maverick/defaultsettings/desktop-base/debian/usplash-theme-debian-desktop-trinity.postinst new file mode 100644 index 000000000..8b26fd83c --- /dev/null +++ b/ubuntu/maverick/defaultsettings/desktop-base/debian/usplash-theme-debian-desktop-trinity.postinst @@ -0,0 +1,30 @@ +#! /bin/sh + +set -e + +case "$1" in + configure) + # Alternatives for usplash + update-alternatives --install \ + /usr/lib/usplash/usplash-artwork.so \ + usplash-artwork.so \ + /usr/lib/usplash/moreblue-orbit-theme.so 60 + + if [ -x /usr/sbin/update-initramfs ]; then + update-initramfs -u + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 -- cgit v1.2.1