prerm is in spambayes 1.1a6-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 | #!/bin/sh -e
# transitional bw compatibility links (1.0.4-6)
SCRIPTS="sb_xmlrpcserver sb_server sb_bnfilter sb_mailsort \
sb_unheader sb_client sb_filter sb_mboxtrain sb_bnserver \
sb_chkopts sb_upload sb_dbexpimp sb_imapfilter \
sb_notesfilter sb_evoscore"
for f in ${SCRIPTS}
do
rm -f /usr/bin/${f}.py
done
# Automatically added by dh_python2:
if which pyclean >/dev/null 2>&1; then
pyclean -p spambayes
else
dpkg -L spambayes | grep \.py$ | while read file
do
rm -f "${file}"[co] >/dev/null
done
fi
# End automatically added section
|