summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-12-16 16:12:25 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-12-16 16:12:25 +0100
commitda6704cbc4ba46242e178e8e7759288105128a21 (patch)
tree303ea483398c64c90f012498202e40bfbbae75bc
parent62209f3aae237b7ea7c3ddf650313a82b9deea7e (diff)
downloaditzks-systems-da6704cbc4ba46242e178e8e7759288105128a21.tar.gz
itzks-systems-da6704cbc4ba46242e178e8e7759288105128a21.tar.bz2
itzks-systems-da6704cbc4ba46242e178e8e7759288105128a21.zip
debian/itzks-systems-common.postinst: Reset 'desktop-background' to default alternative (i.e. bg image in the active desktop-theme), if not so.
-rwxr-xr-xdebian/itzks-systems-common.postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/itzks-systems-common.postinst b/debian/itzks-systems-common.postinst
index c4c1189..aa3784d 100755
--- a/debian/itzks-systems-common.postinst
+++ b/debian/itzks-systems-common.postinst
@@ -87,6 +87,11 @@ case "$1" in
else
update-debian-edu-artwork-spacefun configure
fi
+ if readlink /etc/alternatives/desktop-background | grep -q desktop-base/active-theme/; then
+ :
+ else
+ update-alternatives --auto desktop-background
+ fi
fi
if [ -e /etc/plymouth/plymouthd.conf ] && which plymouth-set-default-theme 1>/dev/null && which update-initramfs 1>/dev/null; then