Compare commits

...

3 Commits

Author SHA1 Message Date
e8cc922c61 permission changes 2022-10-03 15:04:43 +02:00
1740c9b5ee removed chromium added chrome instead 2022-10-03 15:04:13 +02:00
4d39769cac removed sleep 2022-10-03 15:03:35 +02:00
3 changed files with 1 additions and 4 deletions

View File

@ -362,8 +362,6 @@ homedir="$(getent passwd $SUDO_USER | cut -d: -f6)"
debug=false
downloadall=false
usezsh=""
echo $homedir
sleep 10
# run the program
if [ $# -eq 0 ]; then

View File

@ -5,12 +5,11 @@ wget https://go.dev/dl/
latestversionsh="$(grep -w 'downloadBox' "index.html")"
latestversionsh=$(echo "$latestversionsh" | grep 'linux')
a="$(grep -w 'data-linux="' "download")"
latestversionsh=${latestversionsh#*'href="'}
latestversionsh=${latestversionsh%'">'*}
# Download latest golang version
wget "https://go.dev"$latestversionsh
sudo -u $SUDO_USER wget "https://go.dev"$latestversionsh
# Remove any previous Go installation then extract the archive
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.19.1.linux-amd64.tar.gz