From 80f653b89dedb5f147089cfeb3db0df19833b332 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Mon, 18 Apr 2011 14:43:53 +0000 Subject: check if ssss and gnupg packages are installed --- config | 6 ++++++ 1 file changed, 6 insertions(+) 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" -- cgit v1.2.1