mirror of
https://github.com/fsquillace/junest.git
synced 2026-01-23 10:35:36 +00:00
Create junest-updater.sh
This commit is contained in:
parent
e5e4a6555c
commit
eca57146bb
1 changed files with 22 additions and 0 deletions
22
junest-updater.sh
Normal file
22
junest-updater.sh
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh
|
||||
|
||||
# DOWNLOAD THE ARCHIVE
|
||||
wget https://github.com/ivan-hc/junest/releases/download/continuous/junest-x86_64.tar.gz
|
||||
|
||||
# SET APPDIR AS A TEMPORARY $HOME DIRECTORY, THIS WILL DO ALL WORK INTO THE APPDIR
|
||||
HOME="$(dirname "$(readlink -f $0)")"
|
||||
|
||||
# DOWNLOAD AND INSTALL JUNEST (DON'T TOUCH THIS)
|
||||
git clone https://github.com/fsquillace/junest.git ~/.local/share/junest
|
||||
./.local/share/junest/bin/junest setup -i junest-x86_64.tar.gz
|
||||
|
||||
# UPDATE ARCH LINUX IN JUNEST
|
||||
./.local/share/junest/bin/junest -- sudo pacman -Syy
|
||||
./.local/share/junest/bin/junest -- sudo pacman --noconfirm -Syu
|
||||
|
||||
# REPACK
|
||||
cd ./junest
|
||||
tar -czvf junest-x86_64.tar.gz .
|
||||
cd ..
|
||||
|
||||
mv ./junest/*.tar.gz ./
|
||||
Loading…
Add table
Add a link
Reference in a new issue