summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-12-15 11:48:40 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-12-15 11:48:40 +0100
commit3e3c6609d40d691dae1cab57f7c3352719923cb5 (patch)
tree55e00ba63aacb9fc41d8f1a398166ce8545fa12b
parent40d1993e27e3235d89ace57d50c7526676ea1711 (diff)
downloaditzks-systems-3e3c6609d40d691dae1cab57f7c3352719923cb5.tar.gz
itzks-systems-3e3c6609d40d691dae1cab57f7c3352719923cb5.tar.bz2
itzks-systems-3e3c6609d40d691dae1cab57f7c3352719923cb5.zip
debian/itzks-systems-common.postinst: Fix artwork and plymouth theme consolidation from previous package version.
-rwxr-xr-xdebian/itzks-systems-common.postinst6
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/itzks-systems-common.postinst b/debian/itzks-systems-common.postinst
index ae8bf8f..c4c1189 100755
--- a/debian/itzks-systems-common.postinst
+++ b/debian/itzks-systems-common.postinst
@@ -83,12 +83,16 @@ case "$1" in
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
+ :
+ else
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
+ if grep -q "Theme=solar" /etc/plymouth/plymouthd.conf; then
+ :
+ else
plymouth-set-default-theme solar
update-initramfs -k all -u
fi