summaryrefslogtreecommitdiff
path: root/debian/monkeysphere.postinst
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@phys.columbia.edu>2008-10-11 14:55:26 -0400
committerJameson Graef Rollins <jrollins@phys.columbia.edu>2008-10-11 14:55:26 -0400
commit936daca4a597838563eccc47b3ec415eaca00666 (patch)
tree7a21d7c9afbf24aa19b5f9aa7a2eae2385899767 /debian/monkeysphere.postinst
parenta746da0ddeed35013ef135e7a0f0aba82d568767 (diff)
Add debian preinst script to move old gpg.conf files out of the way.
Diffstat (limited to 'debian/monkeysphere.postinst')
-rwxr-xr-xdebian/monkeysphere.postinst4
1 files changed, 2 insertions, 2 deletions
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