prerm is in mpg123 1.25.10-1.
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 19 | #!/bin/sh
set -e
case "$1" in
upgrade) ;;
remove|failed-upgrade|deconfigure)
for i in mpg123.bin mpg123-oss mpg123-alsa mpg123-esd mpg123-nas \
mpg123-oss-i486; do
test -e "/usr/bin/$i" || continue
update-alternatives --remove mpg123 "/usr/bin/$i"
update-alternatives --remove mp3-decoder "/usr/bin/$i"
done
;;
esac
exit 0
|