summaryrefslogtreecommitdiff
path: root/localuserconfig
diff options
context:
space:
mode:
Diffstat (limited to 'localuserconfig')
-rwxr-xr-xlocaluserconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/localuserconfig b/localuserconfig
index 3a8f605..82853c8 100755
--- a/localuserconfig
+++ b/localuserconfig
@@ -3,7 +3,7 @@
# /usr/local/bin/localuserconfig
# Copyright 2004 Jonas Smedegaard <dr@jones.dk>
#
-# $Id: localuserconfig,v 1.6 2004-04-16 13:53:17 jonas Exp $
+# $Id: localuserconfig,v 1.7 2004-04-19 20:45:06 jonas Exp $
#
# Set/change local account settings
#
@@ -101,12 +101,12 @@ if [ "$do_server" = "yes" ]; then
server_username="$(grep '^username' $HOME/$server_userconf | awk -F= '{print $2}' | head -1 | awk '{print $1}')"
server_password="$(grep '^password' $HOME/$server_userconf | awk -F= '{print $2}' | head -1 | awk '{print $1}')"
fi
- if [ -n "$server_username" -o -n "$server_password" ]; then
+ if [ -n "$server_username" ]; then
server_edit=""
- echo -n "Account info for $server_desc already exists. Edit (Y/n)? "
+ echo -n "Account info for $server_desc already exists. Edit (y/N)? "
read server_overwrite
case $server_overwrite in
- y|Y|"")
+ y|Y)
server_edit="1"
;;
esac