From da6704cbc4ba46242e178e8e7759288105128a21 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 16 Dec 2020 16:12:25 +0100 Subject: debian/itzks-systems-common.postinst: Reset 'desktop-background' to default alternative (i.e. bg image in the active desktop-theme), if not so. --- debian/itzks-systems-common.postinst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'debian') 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 -- cgit v1.2.3