This file is indexed.

postinst is in mime-support 3.51-1ubuntu1.1.

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
#! /bin/sh -e


#if [ "$1" = "configure" ]; then
#fi


# Remove the old status directory (and any orphaned install-mime program)
rm -fr /var/lib/mime
rm -f  /usr/sbin/install-mime


# Use "see" as alternative for "view"
update-alternatives \
    --install /usr/bin/view view /usr/bin/see 1 \
    --slave /usr/share/man/man1/view.1.gz view.1.gz /usr/share/man/man1/see.1.gz


# Run the update program
if [ -x /usr/sbin/update-mime ]; then
    update-mime
fi