This file is indexed.

postrm is in thunderbird 11.0.1+build1-0ubuntu2.

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

set -e

APP_NAME=thunderbird

abort_mv_conffile() {
    local CONFFILE="$1"

    if [ -e "$CONFFILE.dpkg-remove" ]; then
        echo "Reinstalling $CONFFILE that was moved away"
        mv "$CONFFILE.dpkg-remove" "$CONFFILE"
    fi
}

if [ "$1" = "abort-install" -o "$1" = "abort-upgrade" ] ; then
    abort_mv_conffile "/etc/${APP_NAME}/pref/thunderbird.js"
fi