Remove kali desktop files in postrm too

parent 5759841a
Pipeline #101112035 passed with stages
in 7 minutes and 11 seconds
kali-menu (2020.1.3) kali-dev; urgency=medium
* Fix dpkg-divert logic in postrm
* Remove kali desktop files in postrm too
-- Raphaël Hertzog <raphael@offensive-security.com> Fri, 06 Dec 2019 08:35:11 +0100
......
......@@ -14,6 +14,10 @@ drop_diversion() {
case "$1" in
remove)
drop_diversion /etc/xdg/menus/xfce-applications.menu
# Remove the desktop files installed by update-kali-menu
find /usr/share/applications -name '*.desktop' | \
xargs grep -l ^X-Kali-Package | \
xargs rm -f || true
;;
esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment