From e01342241ab9057243c85f5762ba017749b467e0 Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Fri, 18 Dec 2009 19:47:59 +0100 Subject: [PATCH] warn if key/cert have not been found --- bin/psyconf | 9 +++++++++ install.sh | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/bin/psyconf b/bin/psyconf index 8322fd2..33f0a18 100755 --- a/bin/psyconf +++ b/bin/psyconf @@ -387,14 +387,23 @@ X my $t = $c{_basic_path_PEM_key}; if ($t) { $t = "$config/$t" unless $t =~ m#^/#; + print STDERR </dev/null the error though... + echo "If the user doesn't exist yet, please make one." fi #while true #do @@ -335,6 +338,7 @@ fi get GROUP "psyc" #while true #do + echo "If such a group doesn't exist yet, please create it now." ask "Which group do you want to run psyced as" GROUP # if `id -Gn $USER | grep $GROUP > /dev/null` # then