update python link, sqlite link
This commit is contained in:
@@ -36,7 +36,6 @@ if [ ! -d $logdir ] ; then
|
|||||||
fi;
|
fi;
|
||||||
|
|
||||||
# install dependencies
|
# 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";
|
echo -e "\tRunning apt update";
|
||||||
apt update 1> $aptlogloc 2>> $aptlogloc 3>> $aptlogloc;
|
apt update 1> $aptlogloc 2>> $aptlogloc 3>> $aptlogloc;
|
||||||
for package in ${packages[@]};
|
for package in ${packages[@]};
|
||||||
@@ -58,7 +57,7 @@ echo -e "Install Sqlite3"
|
|||||||
tput setaf 9
|
tput setaf 9
|
||||||
|
|
||||||
# fetch Sqlite
|
# 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
|
if [ $? -ne 0 ] ; then
|
||||||
echo -e "Failed to fetch sqlite, make sure wget is installed and $pylink is what you're after. $pylogmsg"
|
echo -e "Failed to fetch sqlite, make sure wget is installed and $pylink is what you're after. $pylogmsg"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
6
vars
6
vars
@@ -24,5 +24,9 @@ export gitlogloc=$logdir"git.log"
|
|||||||
export gitlogmsg="See $gitlogloc for more info."
|
export gitlogmsg="See $gitlogloc for more info."
|
||||||
|
|
||||||
# python settings
|
# python settings
|
||||||
export pylink="https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz"
|
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"
|
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);
|
||||||
Reference in New Issue
Block a user