#!/bin/sh SYSTEM_LOGO="/usr/share/unity-greeter/logo.png" SYSTEM_WALLPAPER="/usr/share/backgrounds/warty-final-ubuntu.png" OUR_LOGO="/usr/share/lliurex-minimal-zen-artwork/logos/lightdm.png" OUR_WALLPAPER="/usr/share/lliurex-minimal-zen-artwork/backgrounds/zen-wallpaper.png" set -e if [ "$1" = "remove" ] ; then update-alternatives --remove lightdm-gtk-greeter-config-derivative /etc/xdg/xdg-lliurex/lightdm/lightdm-gtk-greeter.conf rm -f "${SYSTEM_WALLPAPER}" dpkg-divert --package lliurex-minimal-zen-artwork-gva- --rename --quiet --remove "${SYSTEM_WALLPAPER}" || true rm -f "${SYSTEM_LOGO}" dpkg-divert --package lliurex-minimal-zen-artwork-gva --rename --quiet --remove "${SYSTEM_LOGO}" || true fi #DEBHELPER#