diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2008-11-15 14:43:22 -0500 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@finestructure.net> | 2008-11-15 14:43:22 -0500 |
commit | 3726f3dd674e74258c5f47b00f3f6f15f4037175 (patch) | |
tree | 985b776adb9da469c7bb1fc29efdffbf7ee5d661 /debian/monkeysphere.preinst | |
parent | d6298194a23adc09731b34568455a3598b29bea1 (diff) |
move debian packaging to the packaging/ subdirectory.
Diffstat (limited to 'debian/monkeysphere.preinst')
-rwxr-xr-x | debian/monkeysphere.preinst | 22 |
1 files changed, 0 insertions, 22 deletions
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 <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 |