preinst is in epoptes-client 0.5.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 | #!/bin/sh
set -e
# It seems that dh_installinit doesn't remove the upstart symlinks :(
# We won't be needing that in the future, it's only for the upstart =>
# sysvinit migration.
if [ "$1" = install ] || [ "$1" = upgrade ]; then
test -h /etc/init.d/epoptes-client && rm -f /etc/init.d/epoptes-client
rm -f /etc/init/epoptes-client.conf
fi
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
|