Fix debian/kali-theme.preinst for xfce

This commit is contained in:
Sophie Brun
2019-10-31 17:54:23 +01:00
parent e85e897fae
commit ec0ada3a14
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -7,6 +7,7 @@ DIVERT_FILE="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml"
case "$1" in
install)
if [ "$(dpkg-divert --listpackage $DIVERT_FILE)" = "kali-defaults" ]; then
rm -f $DIVERT_FILE
dpkg-divert --rename --package kali-defaults \
--divert $DIVERT_FILE.original \
--remove $DIVERT_FILE