Skip to content

Commit 2b81b66

Browse files
committed
Cleaned up installer output
1 parent 8824151 commit 2b81b66

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tauth-install.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ fi
6363

6464
# Check dependencies
6565
missing=""
66-
command -v curl;
66+
command -v curl 2>/dev/null >/dev/null;
6767
[ "$?" != "0" ] && missing="$missing\n\tcurl"
68-
command -v sshd;
68+
command -v sshd 2>/dev/null >/dev/null;
6969
[ "$?" != "0" ] && missing="$missing\n\tsshd"
7070

7171
if [ "$missing" != "" ]; then
@@ -113,6 +113,7 @@ fi
113113
#read user input and write it to config file
114114
read -p "Enter Gmail address: " EMAIL_User
115115
read -p "Enter Gmail password: " -s EMAIL_Pass
116+
echo
116117
#back up ssh data and append tauth line
117118
cp $SSH_CONF "$SSH_CONF.bac"
118119
echo "ForceCommand $TAUTH_ROOT/tauth-login.sh" >> $SSH_CONF

0 commit comments

Comments
 (0)