OSDN Git Service

new pidfile
[instantos/instantOS.git] / programs / instantupdate
1 #!/bin/bash
2
3 # update wrapper that applies changes to sudo hooks
4
5 if ! checkinternet; then
6     echo "internet is required to upgrade instantOS"
7     exit 1
8 fi
9
10 curl -s "https://raw.githubusercontent.com/instantOS/iso-profiles/master/pacclear.sh" | sudo bash
11 sudo pacman -Sy --noconfirm
12
13 instantshell
14 sudo pacman -Syuu --noconfirm
15 instantdotfiles -f
16 instantthemes a arc
17
18 sudo bash /usr/share/instantutils/rootinstall.sh
19 sudo bash /usr/share/instantdotfiles/rootinstall.sh
20 bash /usr/share/instantdotfiles/userinstall.sh