From 936daca4a597838563eccc47b3ec415eaca00666 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Sat, 11 Oct 2008 14:55:26 -0400 Subject: Add debian preinst script to move old gpg.conf files out of the way. --- debian/monkeysphere.postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian/monkeysphere.postinst') diff --git a/debian/monkeysphere.postinst b/debian/monkeysphere.postinst index bd3062f..0e36186 100755 --- a/debian/monkeysphere.postinst +++ b/debian/monkeysphere.postinst @@ -20,9 +20,9 @@ fi # install host gnupg home directory install --owner root --group monkeysphere --mode 750 -d "$VARLIB"/gnupg-host # link in the gpg.conf -ln -s "$ETC"/gnupg-host.conf "$VARLIB"/gnupg-host/gpg.conf +ln -sf "$ETC"/gnupg-host.conf "$VARLIB"/gnupg-host/gpg.conf # install authentication gnupg home directory install --owner monkeysphere --group monkeysphere --mode 700 -d "$VARLIB"/gnupg-authentication # link in the gpg.conf -ln -s "$ETC"/gnupg-authentication.conf "$VARLIB"/gnupg-authentication/gpg.conf +ln -sf "$ETC"/gnupg-authentication.conf "$VARLIB"/gnupg-authentication/gpg.conf -- cgit v1.2.3