Compare commits

...

3 Commits

Author SHA1 Message Date
Brendan Webb dd8c9cca00 i fucking hate zips
but at the same time i don't understand tarballs
what can i dOoOoOoO
2021-08-22 17:25:55 +10:00
Brendan Webb fc5a3a21a6 fix a typo i somehow missed THIS WHOLE TIME 2021-08-22 17:24:23 +10:00
Brendan Webb f90e7d0d3d another update to hopefully fix shit 2021-08-22 17:22:08 +10:00
1 changed files with 3 additions and 4 deletions

View File

@ -7,7 +7,7 @@ curl -s https://tildegit.org/api/v1/repos/BrendanTCC/brendotools-wallman/release
DOWNLOAD_VERSION=$(cat $WPSET_REL | jq .[0].tag_name | sed s/\"//g)
DOWNLOAD_URL=$(cat $WPSET_REL | jq .[0].assets[0].browser_download_url | sed s/\"//g)
DOWNLOAD_FNAME=$(cat $WPSET_REL | jq .[0].assets[0].name | sed s/\"//g)
DOWNLOAD_FOLDER=$(echo "$DOWNLOAD_FNAME" | s/\.zip//)
DOWNLOAD_FOLDER=$(echo "$DOWNLOAD_FNAME" | sed s/\.zip//)
# other important shit
CONF="/home/$USER/.config/wpdl.conf"
@ -28,10 +28,9 @@ PASSWD=$(pass system/sudo)
curl -s $DOWNLOAD_URL -o $DOWNLOAD_FNAME
unzip $DOWNLOAD_FNAME -d /home/$USER/$DOWNLOAD_FOLDER
cd /home/$USER/$DOWNLOAD_FOLDER
ls
chmod +x wpset-setup
chmod +x /home/$USER/$DOWNLOAD_FOLDER/brendotools-wallman/wpset-setup
echo "sudo privileges are required to continue. enter your password."
sudo ./wpset-setup update
sudo /home/$USER/$DOWNLOAD_FOLDER/brendotools-wallman/wpset-setup update
sleep 1