prerm is in usb-modeswitch 2.5.2+repack0-2ubuntu1.
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 | #!/bin/sh
set -e
if [ "$1" = remove ];
then
# Also remove the runtime files.
rm -f /var/lib/usb_modeswitch/last_seen
rm -f /var/lib/usb_modeswitch/bind_list
fi
# Automatically added by dh_installdeb/11.1.4ubuntu1
dpkg-maintscript-helper rm_conffile /etc/init/usb-modeswitch-upstart.conf 2.5.1\+repack0-1\~ -- "$@"
# End automatically added section
|