We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8824151 commit 2b81b66Copy full SHA for 2b81b66
tauth-install.sh
@@ -63,9 +63,9 @@ fi
63
64
# Check dependencies
65
missing=""
66
-command -v curl;
+command -v curl 2>/dev/null >/dev/null;
67
[ "$?" != "0" ] && missing="$missing\n\tcurl"
68
-command -v sshd;
+command -v sshd 2>/dev/null >/dev/null;
69
[ "$?" != "0" ] && missing="$missing\n\tsshd"
70
71
if [ "$missing" != "" ]; then
@@ -113,6 +113,7 @@ fi
113
#read user input and write it to config file
114
read -p "Enter Gmail address: " EMAIL_User
115
read -p "Enter Gmail password: " -s EMAIL_Pass
116
+echo
117
#back up ssh data and append tauth line
118
cp $SSH_CONF "$SSH_CONF.bac"
119
echo "ForceCommand $TAUTH_ROOT/tauth-login.sh" >> $SSH_CONF
0 commit comments