Browse Source

Merge pull request #4463

Alice Weigt (1):
      fix(bootstrap): qrencode url
reviewable/pr4471/r1
Zetok Zalbavar 8 years ago
parent
commit
b40733b62f
No known key found for this signature in database
GPG Key ID: C953D3880212068A
  1. 21
      windows/bootstrap.sh

21
windows/bootstrap.sh

@ -8,9 +8,9 @@ if [ -d $QTOX_DIR/libs ]; then @@ -8,9 +8,9 @@ if [ -d $QTOX_DIR/libs ]; then
if [ "$yn" == "a" ]; then
rm -rf $QTOX_DIR/libs
elif [ "$yn" == "n" ]; then
exit -1
exit 1
elif [ "$yn" != "m" ]; then
exit -1
exit 1
fi
fi
@ -31,7 +31,22 @@ fi @@ -31,7 +31,22 @@ fi
## qrencode
if [ ! -f "qrencode-3.4.4.tar.gz" ]; then
wget http://fukuchi.org/works/qrencode/qrencode-3.4.4.tar.gz
wget https://fukuchi.org/works/qrencode/qrencode-3.4.4.tar.gz
fi
if [ ! -f "qrencode-3.4.4.tar.gz" ]; then
echo "Warning: Failed to download libqrencode."
echo "Warning: This is usually due to https certificate issues."
echo
echo "Would you like to continue without verifying the certificate?"
read -p "(yes/No) y/N: " input
input=$(echo $input | tr "[:upper:]" "[:lower:]")
if [ "${input%es}" == y ]; then
wget --no-check-certificate https://fukuchi.org/works/qrencode/qrencode-3.4.4.tar.gz
else
echo "Error: Could not download libqrencode."
exit 1
fi
fi
if [ ! -d "$QTOX_DIR/libs/qrencode-3.4.4" ]; then

Loading…
Cancel
Save