#! /bin/sh -e # preinst script for desktops-keeper if dpkg --compare-versions "$2" lt 1.7.9; then echo "Info: Reverting cpkg desktops-keeper configuration" llxcfg-cpkg revert desktops-keeper 2>&1 >/dev/null|| true fi dpkg-divert --package llxcfg-desktops-keeper --add --rename --divert /usr/share/desktop-directories/wine-Programs-Accessories.directory.real /usr/share/desktop-directories/wine-Programs-Accessories.directory || true dpkg-divert --package llxcfg-desktops-keeper --add --rename --divert /usr/share/desktop-directories/wine-Programs.directory.real /usr/share/desktop-directories/wine-Programs.directory || true dpkg-divert --package llxcfg-desktops-keeper --add --rename --divert /usr/share/desktop-directories/wine-wine.directory.real /usr/share/desktop-directories/wine-wine.directory || true # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0