Remove gnome-backgrounds.xml divertion for GNOME 42

This commit is contained in:
Daniel Ruiz de Alegría 2022-04-13 10:15:58 +02:00
parent 251e07c229
commit ee974e61a9
No known key found for this signature in database
GPG Key ID: 59667A77E8BFCB6C

View File

@ -113,15 +113,6 @@ if [ "$1" = "configure" ]; then
# Install remaining new files
install_all
fi
# Disable GNOME backgrounds
file=/usr/share/gnome-background-properties/gnome-backgrounds.xml
if [ -e $file ]; then
diverted_file=$(dirname $file)/disabled/$(basename $file)
mkdir -p "$(dirname $diverted_file)"
dpkg-divert --rename --package kali-themes \
--divert "$diverted_file" \
--add "$file"
fi
# Configure /root/.face to have a red-background avatar
if [ ! -e /root/.face ]; then
cp /usr/share/kali-themes/.face-root.svg /root/.face