prerm is in libgtk2.0-0 2.24.30-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 | #!/bin/sh
set -e
# remove /usr/share/doc directory as it was a symlink prior to 2.12.5-2
pkg=libgtk2.0-0
if [ "$1" = upgrade ] && [ ! -L /usr/share/doc/$pkg ] && [ -d /usr/share/doc/$pkg ]; then
rm -rf /usr/share/doc/$pkg
fi
|