diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-12-15 11:34:29 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-12-15 11:34:29 +0100 |
commit | 64bb615f57ace9d833d68a4b988abf965044b0e4 (patch) | |
tree | e697d0ceac6875558a875ecb445aa646e9d8b7ab | |
parent | c64364f9032bc31bb99b6b0cb6e07827bedcbe07 (diff) | |
download | itzks-systems-64bb615f57ace9d833d68a4b988abf965044b0e4.tar.gz itzks-systems-64bb615f57ace9d833d68a4b988abf965044b0e4.tar.bz2 itzks-systems-64bb615f57ace9d833d68a4b988abf965044b0e4.zip |
debian/itzks-systems-common.postinst: Fix Edu artwork and plymouth theme for ITZkS systems whenever we configure itzks-systems-common.
-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) |