diff options
author | Matt Goins <mjgoins@openflows.com> | 2009-01-31 21:31:30 -0500 |
---|---|---|
committer | Matt Goins <mjgoins@openflows.com> | 2009-01-31 21:31:30 -0500 |
commit | af6f93d261025cd859996fce65e7edfc68fb1f34 (patch) | |
tree | ab92c8bc0b04c06a9ee38edfd46270fc40498140 /packaging/debian/monkeysphere.preinst | |
parent | 487fffd53cd109fb7f6291735c1f5cb5a0df8eeb (diff) | |
parent | 5d9e91f20216702ad675244465157ad54cde75a4 (diff) |
Merge commit 'jrollins/master'
Diffstat (limited to 'packaging/debian/monkeysphere.preinst')
-rwxr-xr-x | packaging/debian/monkeysphere.preinst | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/packaging/debian/monkeysphere.preinst b/packaging/debian/monkeysphere.preinst index 528da84..73c4169 100755 --- a/packaging/debian/monkeysphere.preinst +++ b/packaging/debian/monkeysphere.preinst @@ -2,24 +2,8 @@ # preinst script for monkeysphere -# Author: Jameson Rollins <jrollins@fifthhorseman.net> -# Copyright 2008 - -ETC="/etc/monkeysphere" -VARLIB="/var/lib/monkeysphere" - -# move the gpg.conf files from the GNUPGHOMEs if they're there to -# /etc, where they will be linked back into the GNUPGHOMEs later -if [ -f "$VARLIB"/gnupg-host/gpg.conf -a ! -L "$VARLIB"/gnupg-host/gpg.conf ] ; then - mv "$VARLIB"/gnupg-host/gpg.conf "$ETC"/gpg-host.conf - chown root:root "$ETC"/gpg-host.conf - ln -s "$ETC"/gpg-host.conf "$VARLIB"/gnupg-host/gpg.conf -fi -if [ -f "$VARLIB"/gnupg-authentication/gpg.conf -a ! -L "$VARLIB"/gnupg-authentication/gpg.conf ] ; then - mv "$VARLIB"/gnupg-authentication/gpg.conf "$ETC"/gpg-authentication.conf - chown root:root "$ETC"/gpg-authentication.conf - ln -s "$ETC"/gpg-authentication.conf "$VARLIB"/gnupg-authentication/gpg.conf -fi +# Author: Jameson Rollins <jrollins@finestructure.net> +# Copyright 2008-2009 # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. |