prerm is in userv 1.2.0.
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 | #!/bin/sh
set -e
if command -v invoke-rc.d >/dev/null 2>&1; then
invoke-rc.d userv stop
else
/etc/init.d/userv stop
fi
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/userv ]; then
rm -f /usr/doc/userv
fi
|