prerm is in gnome-menus 3.4.0-0ubuntu1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #! /bin/sh
set -e
if [ "$1" = remove ] && [ -d /usr/share/gnome/applications ]; then
find /usr/share/gnome/applications -type f -name \*.desktop -exec rm -f '{}' \;
find /usr/share/gnome/applications -depth -type d -empty -exec rmdir '{}' \;
fi
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/xdg/menus/gnome-applications.menu 3.2.0.1-2ubuntu2 gnome-menus -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/xdg/menus/gnome-settings.menu 3.2.0.1-2ubuntu1 gnome-menus -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/xdg/menus/gnome-preferences.menu 2.22.2-4 gnome-menus -- "$@"
# End automatically added section
|