aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfirma16
1 files changed, 8 insertions, 8 deletions
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] <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
#