prerm is in lintian 2.5.6.
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 | #!/bin/sh
set -e
#
# Remove our generated locale if we are not upgrading or
# we are upgrading into a system with a libc provided
# C.UTF-8 (libc-bin >= 2.13)
if [ 'upgrade' != "$1" -o -d '/usr/lib/locale/C.UTF-8/' ] ; then
rm -rf /var/lib/lintian/
fi
|