Skip to content

Commit ff4a8be

Browse files
committed
download.sh: update default version to 0.6.0, make installing the lib the default option
1 parent 4220d7c commit ff4a8be

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

download.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ tty -s || quiet=true
3939

4040
# Note: optional arguments like "--quiet" shifts argument positions in the case block above
4141

42-
version=${1:-0.5}
42+
version=${1:-0.6.0}
4343
repoType=${2:-testing}
4444
os=${3:-$(uname)}
4545
arch=${4:-$(uname -m)}
@@ -235,8 +235,8 @@ if ${quiet} ; then
235235
fi
236236
else
237237
if [ -z "${installLibrary:-}" ] && [ -n "${libDirectory}" ]; then
238-
read -p "OK. Do you want to install the library into ${libDirectory}? [y/N] " -r
239-
if [[ $REPLY =~ ^[Yy]$ ]]; then
238+
read -p "OK. Do you want to install the library into ${libDirectory}? [Y/n] " -r
239+
if [[ $REPLY =~ ^[Yy]$ ]] || [[ -z "$REPLY" ]] ; then
240240
installLibrary=true
241241

242242
if [ -n "${oldLibDir}" ] && [ -f "${oldLibDir}/${libFileName}" ] ; then

0 commit comments

Comments
 (0)