prerm is in vim-bitbake 0~git20171214-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 20 21 22 23 24 25 26 27 | #!/bin/sh
set -e
case "$1" in
remove|upgrade|deconfigure)
vim-addon-manager -w remove bitbake > /dev/null
;;
failed-upgrade)
# This will be interesting if vim-addon-manager changes behaviour
# in a way that the prerm-script of the old version of the package
# cannot be run successfully anymore and the prerm-script of the
# new version of the package can fix this issue. But for now, this
# is not the case.
exit 1
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
exit 0
|