Blame ecryptfs-utils-81-getext.patch
|
Michal Hlavinka |
6ae9dc |
diff -up ecryptfs-utils-81/src/utils/ecryptfs-setup-private.getext ecryptfs-utils-81/src/utils/ecryptfs-setup-private
|
|
Michal Hlavinka |
6ae9dc |
--- ecryptfs-utils-81/src/utils/ecryptfs-setup-private.getext 2009-09-18 23:48:39.000000000 +0200
|
|
Michal Hlavinka |
6ae9dc |
+++ ecryptfs-utils-81/src/utils/ecryptfs-setup-private 2009-11-09 16:48:52.361430492 +0100
|
|
Michal Hlavinka |
6ae9dc |
@@ -171,7 +171,7 @@ done
|
|
Michal Hlavinka |
6ae9dc |
# Prompt for the USER name, if not on the command line and not in the env
|
|
Michal Hlavinka |
6ae9dc |
if [ -z "$USER" ]; then
|
|
Michal Hlavinka |
6ae9dc |
while [ true ]; do
|
|
Michal Hlavinka |
6ae9dc |
- echo -n gettext `"Enter the username: "`
|
|
Michal Hlavinka |
6ae9dc |
+ echo -n `gettext "Enter the username: "`
|
|
Michal Hlavinka |
6ae9dc |
USER=`head -n1`
|
|
Michal Hlavinka |
6ae9dc |
echo
|
|
Michal Hlavinka |
6ae9dc |
if [ -z "$USER" ]; then
|
|
Michal Hlavinka |
6ae9dc |
@@ -279,7 +279,7 @@ if [ -z "$LOGINPASS" ] && [ "$BOOTSTRAP"
|
|
Michal Hlavinka |
6ae9dc |
if printf "%s\0" "$LOGINPASS" | /sbin/unix_chkpwd "$USER" nullok; then
|
|
Michal Hlavinka |
6ae9dc |
break
|
|
Michal Hlavinka |
6ae9dc |
else
|
|
Michal Hlavinka |
6ae9dc |
- echo `gettext "ERROR:"` `getext "Your login passphrase is incorrect"`
|
|
Michal Hlavinka |
6ae9dc |
+ echo `gettext "ERROR:"` `gettext "Your login passphrase is incorrect"`
|
|
Michal Hlavinka |
6ae9dc |
tries=$(($tries + 1))
|
|
Michal Hlavinka |
6ae9dc |
fi
|
|
Michal Hlavinka |
6ae9dc |
fi
|