This file is indexed.

preinst is in malaga-bin 7.12-4.1ubuntu1.

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 -e

action="$1"
oldversion="$2"

if [ "$action" != upgrade ]; then
    exit 0
fi

# Emacs mode moved to malaga-mode in 7.9-1, removing old malaga-bin's
# 50malaga-bin.el file (bug #454714)
if [ -e /etc/emacs/site-start.d/50malaga-bin.el ] && \
    dpkg --compare-versions "$oldversion" le-nl 7.8-4; then
    if [ $(dpkg -s malaga-mode | grep not-installed | wc -l) -gt 0 ]; then
        rm -f /etc/emacs/site-start.d/50malaga-bin.el
    fi
fi