]> gitweb.fluxo.info Git - firma.git/commitdiff
NewList minor fixes
authorrhatto <rhatto>
Tue, 10 Oct 2006 02:42:35 +0000 (02:42 +0000)
committerrhatto <rhatto>
Tue, 10 Oct 2006 02:42:35 +0000 (02:42 +0000)
firma

diff --git a/firma b/firma
index 0f3077230678f2bfbaa7b5425167fbd698972448..360228f64f9904152f6a840ac0a9b1541645cd63 100755 (executable)
--- 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] <key-ids> import <key-ids> from <server-address>
 "
   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
   #