summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/set-desktopbackground
blob: 3bc46116799d91b37aded9159e9747e1dd26a651 (plain)
1
2
3
4
5
6
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