This file is indexed.

postinst 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
18
19
20
21
22
23
#! /bin/sh
set -e

#gnome-menus-blacklist

if [ "$1" = triggered ]; then
    exit 0
fi

if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl "3.2.0-0ubuntu2"; then
    # we dropped the menu cache, clean up old files
    rm -f /usr/share/applications/desktop.*.cache
fi

# 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
# 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-applications.menu 3.2.0.1-2ubuntu2 gnome-menus -- "$@"
# End automatically added section