From 67435af172092b008e1d1881f52e43b3e31e7888 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Tue, 16 Apr 2019 17:15:52 -0400 Subject: [PATCH] update python link, sqlite link --- install.sh | 3 +-- vars | 8 ++++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 690ef47..08eaa45 100755 --- a/install.sh +++ b/install.sh @@ -36,7 +36,6 @@ if [ ! -d $logdir ] ; then fi; # install dependencies -packages=(gcc wget nginx make bzip2 openssl libffi-dev libssl-dev libsqlite3-dev zlib1g-dev libbz2-dev libpq-dev); echo -e "\tRunning apt update"; apt update 1> $aptlogloc 2>> $aptlogloc 3>> $aptlogloc; for package in ${packages[@]}; @@ -58,7 +57,7 @@ echo -e "Install Sqlite3" tput setaf 9 # fetch Sqlite -wget https://sqlite.org/2019/sqlite-autoconf-3280000.tar.gz sqlite.tar.gz 1> $pylogloc 2>> $pylogloc 3>> $pylogloc +wget $sqlink sqlite.tar.gz 1> $pylogloc 2>> $pylogloc 3>> $pylogloc if [ $? -ne 0 ] ; then echo -e "Failed to fetch sqlite, make sure wget is installed and $pylink is what you're after. $pylogmsg" exit 1 diff --git a/vars b/vars index 9d43582..30f809f 100755 --- a/vars +++ b/vars @@ -24,5 +24,9 @@ export gitlogloc=$logdir"git.log" export gitlogmsg="See $gitlogloc for more info." # python settings -export pylink="https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz" -export pyinstalldir="/usr/src/python37" \ No newline at end of file +export pylink="https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tar.xz" +export sqlink="https://sqlite.org/2019/sqlite-autoconf-3280000.tar.gz" +export pyinstalldir="/usr/src/python37" + +# don't change this by hand +export packages=(gcc wget nginx make bzip2 openssl libffi-dev libssl-dev libsqlite3-dev zlib1g-dev libbz2-dev libpq-dev); \ No newline at end of file