Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
szolin committed Oct 1, 2020
1 parent 0ecc1a0 commit 4c564da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function download()
if [ $(which curl) ]; then
curl $1 --output $2 || return 1
elif [ $(which wget) ]; then
wget $1 -o $2 || return 1
wget $1 -O $2 || return 1
else
echo "need curl or wget"
return 1
Expand Down Expand Up @@ -165,7 +165,7 @@ OUT_DIR=/opt/AdGuardHome

download $URL $PKG_NAME || error_exit "ERROR: Can not download package"

echo "Please enter a root directory AdGuard Home will be unpacked to or just press Enter to use default directory /opt:"
echo "AdGuard Home directory [/opt/AdGuardHome]:"
read USER_OUT_DIR
if [ "$USER_OUT_DIR" != "" ]; then
OUT_DIR=$USER_OUT_DIR
Expand Down

0 comments on commit 4c564da

Please sign in to comment.