aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-04-18 14:43:53 +0000
committerNicolas Vigier <boklm@mageia.org>2011-04-18 14:43:53 +0000
commit80f653b89dedb5f147089cfeb3db0df19833b332 (patch)
tree9e16c57586cdccaa33916ac83b08ddf8307258b9
parentd4b8abcdde7cf1742c1c9c5c4ab853c2ebf10622 (diff)
downloadgpg-80f653b89dedb5f147089cfeb3db0df19833b332.tar
gpg-80f653b89dedb5f147089cfeb3db0df19833b332.tar.gz
gpg-80f653b89dedb5f147089cfeb3db0df19833b332.tar.bz2
gpg-80f653b89dedb5f147089cfeb3db0df19833b332.tar.xz
gpg-80f653b89dedb5f147089cfeb3db0df19833b332.zip
check if ssss and gnupg packages are installedHEADmaster
-rw-r--r--config6
1 files changed, 6 insertions, 0 deletions
diff --git a/config b/config
index bb0dbd5..2652697 100644
--- a/config
+++ b/config
@@ -1,3 +1,9 @@
+if ! rpm -q gnupg > /dev/null || ! rpm -q ssss > /dev/null
+then
+ echo "gnupg and ssss packages need to be installed" >&2
+ exit 1
+fi
+
GPGHOMEDIR="./homedir"
PUBDIR="./public"
PRIVDIR="./private"