Compare commits
3 Commits
888b22f1aa
...
dd8c9cca00
Author | SHA1 | Date |
---|---|---|
Brendan Webb | dd8c9cca00 | |
Brendan Webb | fc5a3a21a6 | |
Brendan Webb | f90e7d0d3d |
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue