From 3faffc012b62e1902753f59f251ee59fbe14e328 Mon Sep 17 00:00:00 2001 From: rhatto Date: Tue, 10 Oct 2006 02:42:35 +0000 Subject: NewList minor fixes --- firma | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'firma') diff --git a/firma b/firma index 0f30772..360228f 100755 --- a/firma +++ b/firma @@ -1024,20 +1024,20 @@ EOF if [ -z "$answer" ] || [ "$answer" == "Y" ] || [ "$answer" == "YES" ]; then echo " Please choose a key import method:" - echo " 1 - Fetch the keys from a keyserver" - echo " 2 - Read keys from stdin" - echo " 3 - Key material stored in a file" + echo " 1 - Fetch the keys from a keyserver" + echo " 2 - Read keys from stdin" + echo " 3 - Key material stored in a file" while true; do read -rep " Please enter your choice: " answer - if [ "$answer" != "1" ]; then + if [ "$answer" == "1" ]; then read -rep " Please enter the keyserver address (defaults to $KEYSERVER): " answer method="keyserver $answer" break - elif [ "$answer" != "2" ]; then + elif [ "$answer" == "2" ]; then method="stdin" break - elif [ "$answer" != "3" ]; then + elif [ "$answer" == "3" ]; then method="file" break else @@ -1471,7 +1471,7 @@ function SubscribeUsers { keyserver [server-address] import from " elif [ "$1" == "stdin" ]; then - echo "please paste the key material here, finninshing with Ctrl-D sequence..." + echo "Please enter the key material here, finninshing with Ctrl-D sequence..." $GPG --import elif [ "$1" == "file" ]; then if [ ! -z "$2" ]; then @@ -1652,7 +1652,7 @@ function GetSubscribersInfo { } -function FixListOwnershipt { +function FixListOwnership { #------------------------------------------------------------- # fix list ownership # -- cgit v1.2.3