debian/lubuntu-plymouth-theme.postinst & postrm: Set lubuntu-logo as
default plymouth settings, and reset it to ubuntu-logo after removal.
This commit is contained in:
parent
a037f7e948
commit
5efcde90ac
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -4,8 +4,8 @@ lubuntu-artwork (0.4) UNRELEASED; urgency=low
|
||||
* debian/control : Add a plymouth theme binary.
|
||||
* debian/*.install & *.links: Reorganize with the new binary.
|
||||
* debian/rules: Install in debian/tmp and use dh_install for installation.
|
||||
* debian/lubuntu-plymouth-theme.postinst: Set lubuntu-logo as default
|
||||
plymouth settings.
|
||||
* debian/lubuntu-plymouth-theme.postinst & postrm: Set lubuntu-logo as
|
||||
default plymouth settings, and reset it to ubuntu-logo after removal.
|
||||
* Switch to a Lubuntu custom theme, made by Rafael Laguna.
|
||||
- Add a lubuntu-logo plymouth theme, based on the ubuntu-logo.
|
||||
- Add a custom logo-banner.png, lubuntu-logo.png and panel wallpaper.
|
||||
|
38
debian/lubuntu-plymouth-theme.postrm
vendored
Normal file
38
debian/lubuntu-plymouth-theme.postrm
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <postrm> `remove'
|
||||
# * <postrm> `purge'
|
||||
# * <old-postrm> `upgrade' <new-version>
|
||||
# * <new-postrm> `failed-upgrade' <old-version>
|
||||
# * <new-postrm> `abort-install'
|
||||
# * <new-postrm> `abort-install' <old-version>
|
||||
# * <new-postrm> `abort-upgrade' <old-version>
|
||||
# * <disappearer's-postrm> `disappear' <overwriter>
|
||||
# <overwriter-version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
|
||||
case "$1" in
|
||||
purge|remove)
|
||||
# FIXME: do this with alternatives
|
||||
/usr/sbin/plymouth-set-default-theme --rebuild-initrd ubuntu-logo
|
||||
;;
|
||||
|
||||
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0 called with unknown argument \`$1'" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
Loading…
x
Reference in New Issue
Block a user