diff options
Diffstat (limited to 'debian/itzks-systems-common.postinst')
-rwxr-xr-x | debian/itzks-systems-common.postinst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/itzks-systems-common.postinst b/debian/itzks-systems-common.postinst index a142825..ae8bf8f 100755 --- a/debian/itzks-systems-common.postinst +++ b/debian/itzks-systems-common.postinst @@ -81,6 +81,18 @@ case "$1" in update-desktop-database fi + if [ -d /usr/share/desktop-base/debian-edu-spacefun-theme ] && which update-debian-edu-artwork-spacefun 1>/dev/null; then + if readlink /etc/alternatives/desktop-theme | grep -q debian-edu-spacefun-theme; then + update-debian-edu-artwork-spacefun configure + fi + fi + + if [ -e /etc/plymouth/plymouthd.conf ] && which plymouth-set-default-theme 1>/dev/null && which update-initramfs 1>/dev/null; then + if ! grep -q "Theme=solar" /etc/plymouth/plymouthd.conf; then + plymouth-set-default-theme solar + update-initramfs -k all -u + fi + fi ;; abort-upgrade|abort-remove|abort-deconfigure) |