diff options
author | Matt Goins <mjgoins@openflows.com> | 2009-01-31 23:01:59 -0500 |
---|---|---|
committer | Matt Goins <mjgoins@openflows.com> | 2009-01-31 23:01:59 -0500 |
commit | c9f3967acec191bd2ec17bfe60359809bf214d0e (patch) | |
tree | f34c83f9a3bee9fbc4f5f83101e1fa82b2562ae0 /packaging/debian/monkeysphere.preinst | |
parent | 67ae32b13542bda0da45321db164da407fe76860 (diff) | |
parent | 3ed4b369c782b96cfa5b067375585e0e757059f5 (diff) |
Merge commit 'dkg/master'
Diffstat (limited to 'packaging/debian/monkeysphere.preinst')
-rwxr-xr-x | packaging/debian/monkeysphere.preinst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packaging/debian/monkeysphere.preinst b/packaging/debian/monkeysphere.preinst index 73c4169..fd22f6f 100755 --- a/packaging/debian/monkeysphere.preinst +++ b/packaging/debian/monkeysphere.preinst @@ -5,6 +5,18 @@ # Author: Jameson Rollins <jrollins@finestructure.net> # Copyright 2008-2009 +ETC="/etc/monkeysphere" + +# move the old server conf file to be the authentication conf file +if [ -f "$ETC"/monkeysphere-server.conf -a \ + ! -f "$ETC"/monkeysphere-authentication.conf ] ; then + mv "$ETC"/monkeysphere-server.conf "$ETC"/monkeysphere-authentication.conf +fi + +# remove the old gpg-*.conf files +rm -f "$ETC"/gpg-host.conf +rm -f "$ETC"/gpg-authentication.conf + # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. |