aboutsummaryrefslogtreecommitdiff
path: root/firma
diff options
context:
space:
mode:
authorrhatto <rhatto>2006-10-10 02:42:35 +0000
committerrhatto <rhatto>2006-10-10 02:42:35 +0000
commit3faffc012b62e1902753f59f251ee59fbe14e328 (patch)
tree08338649458a809f3787a85da7ae13e2baa0607e /firma
parent7eb5cb5a032934ee29f0cc74a3e8b2bc1e993098 (diff)
downloadfirma-3faffc012b62e1902753f59f251ee59fbe14e328.tar.gz
firma-3faffc012b62e1902753f59f251ee59fbe14e328.tar.bz2
NewList minor fixes
Diffstat (limited to 'firma')
-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
#