Xfce: if installed, replace default-browser with firefox in xfce4-panel
This commit is contained in:
parent
0fdf569b65
commit
e2623bee3a
5
debian/kali-themes.postinst
vendored
5
debian/kali-themes.postinst
vendored
@ -137,6 +137,11 @@ EOF
|
|||||||
cp /usr/share/kali-themes/.face-root.svg /root/.face
|
cp /usr/share/kali-themes/.face-root.svg /root/.face
|
||||||
fi
|
fi
|
||||||
ln -sf /root/.face /root/.face.icon
|
ln -sf /root/.face /root/.face.icon
|
||||||
|
# If installed, replace default-browser with firefox in xfce4-panel
|
||||||
|
if dpkg-query --list firefox-esr | grep -q "^[ih][HUFWti] " ; then
|
||||||
|
echo "firefox-esr package found, replacing default-browser in xfce4-panel"
|
||||||
|
sed -i 's/xfce4-web-browser/firefox-esr/' /etc/xdg/xfce4/panel/default.xml
|
||||||
|
fi
|
||||||
# Copy grub theme to /boot
|
# Copy grub theme to /boot
|
||||||
mkdir -p /boot/grub/themes/kali
|
mkdir -p /boot/grub/themes/kali
|
||||||
# Remove old symlink created by postinst in 2020.3.0
|
# Remove old symlink created by postinst in 2020.3.0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user