Commit a68ad7f9 authored by nvmnghia's avatar nvmnghia

Fix not running anaconda installer

Fix removing wget temp folder
parent c8686453
......@@ -64,8 +64,8 @@ echo "Install anaconda"
ANACONDA_LATEST=$(wget -r --spider -l 1 https://repo.anaconda.com/archive/ 2>&1 | grep Anaconda3 | grep -v ppc64le | grep -m 1 Linux)
ANACONDA_LATEST=${ANACONDA_LATEST##*-- } # Keep the https part, which is right after '-- ' ^ -m 1 to grep the first match
wget -O anaconda.sh $ANACONDA_LATEST
sudo -u $usr bash -p $HOME/anaconda
rm anaconda.sh
sudo -u $usr bash ./anaconda.sh -p $HOME/anaconda
rm -rf anaconda.sh repo.anaconda.com
echo "Install docker"
......@@ -95,5 +95,6 @@ else
echo "Intel GPU, good luck poor guy"
fi
apt update -y
apt upgrade -y
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment