summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/set-desktopbackground
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2012-10-14 15:52:39 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2012-10-14 15:52:39 +0200
commitc9bbc601524ca2b06a52a938a4e47eb8e7c489fa (patch)
tree1cc0df9ba1ef40b23932a646b07a9e406300ea80 /config/chroot_local-hooks/set-desktopbackground
parente645c5eee7146e8e786be033a663fb8d5173c005 (diff)
parentad9dfc0bc615d5a95aa569da75f6394d3181e7d2 (diff)
downloadkanotix-c9bbc601524ca2b06a52a938a4e47eb8e7c489fa.zip
kanotix-c9bbc601524ca2b06a52a938a4e47eb8e7c489fa.tar.gz
Merge branch 'master' of ssh://git.acritox.com/kanotix
Diffstat (limited to 'config/chroot_local-hooks/set-desktopbackground')
-rwxr-xr-xconfig/chroot_local-hooks/set-desktopbackground7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/set-desktopbackground b/config/chroot_local-hooks/set-desktopbackground
new file mode 100755
index 0000000..3bc4611
--- /dev/null
+++ b/config/chroot_local-hooks/set-desktopbackground
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Switch desktop-background to kanotix-starrise-base wallpaper
+if [ ! -e /var/lib/dpkg/info/desktop-base.list ] || [ ! -e /var/lib/dpkg/info/kanotix-starrise-base.list ]
+then
+ return
+fi
+update-alternatives --install /usr/share/images/desktop-base/desktop-background desktop-background /usr/share/images/kanotix-starrise/kanotix-starrise.png 200 || true