X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=debian%2Fmonkeysphere.preinst;h=fd22f6faca5e5ed685ca611eecd3abe3f2c93746;hb=HEAD;hp=860286b069de5db0927b9bd527d80a1404bd2a9a;hpb=c76c8c71fa9e3106dcf2431144e58466113af654;p=monkeysphere.git diff --git a/debian/monkeysphere.preinst b/debian/monkeysphere.preinst deleted file mode 100755 index 860286b..0000000 --- a/debian/monkeysphere.preinst +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh -e - -# preinst script for monkeysphere - -# Author: Jameson Rollins -# 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