3 # preinst script for monkeysphere
5 # Author: Jameson Rollins <jrollins@finestructure.net>
8 ETC="/etc/monkeysphere"
10 # move the old server conf file to be the authentication conf file
11 if [ -f "$ETC"/monkeysphere-server.conf -a \
12 ! -f "$ETC"/monkeysphere-authentication.conf ] ; then
13 mv "$ETC"/monkeysphere-server.conf "$ETC"/monkeysphere-authentication.conf
16 # remove the old gpg-*.conf files
17 rm -f "$ETC"/gpg-host.conf
18 rm -f "$ETC"/gpg-authentication.conf
20 # dh_installdeb will replace this with shell code automatically
21 # generated by other debhelper scripts.