Minor fixes to old code
Some removal code was using the wrong alternative. And a minor typo.
This commit is contained in:
parent
65bca1ea34
commit
12a2e20f82
4
debian/kali-desktop-base.postinst
vendored
4
debian/kali-desktop-base.postinst
vendored
@ -92,7 +92,7 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-remov
|
|||||||
# before updating.
|
# before updating.
|
||||||
sync
|
sync
|
||||||
# Report success whatever grub return status. This is needed at least
|
# Report success whatever grub return status. This is needed at least
|
||||||
# in live systems fon installation to succeed (see #850601).
|
# in live systems for installation to succeed (see #850601).
|
||||||
# Until we find a better solution like detecting we’re in a live image
|
# Until we find a better solution like detecting we’re in a live image
|
||||||
# and not calling update-grub at all.
|
# and not calling update-grub at all.
|
||||||
update-grub || echo "Updating grub failed, report success anyway!"
|
update-grub || echo "Updating grub failed, report success anyway!"
|
||||||
@ -129,7 +129,7 @@ kali 3840x2160.svg
|
|||||||
EOF
|
EOF
|
||||||
# Remove gnome-background.xml alternatives
|
# Remove gnome-background.xml alternatives
|
||||||
update-alternatives --remove \
|
update-alternatives --remove \
|
||||||
desktop-background \
|
desktop-background.xml \
|
||||||
/usr/share/desktop-base/kali-theme/wallpaper/gnome-background.xml
|
/usr/share/desktop-base/kali-theme/wallpaper/gnome-background.xml
|
||||||
|
|
||||||
# Remove desktop-lockscreen.xml alternatives
|
# Remove desktop-lockscreen.xml alternatives
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user