updateall : réglage script mise à jour Arch
This commit is contained in:
parent
c33c733984
commit
5e358fea0c
1 changed files with 6 additions and 9 deletions
|
@ -1,10 +1,7 @@
|
|||
#!/bin/sh -ex
|
||||
if [ "$(whoami)" = root ]; then
|
||||
aura -Scc
|
||||
aura -Fy
|
||||
aura -Syu
|
||||
aura -Qdtq | aura -Rns -
|
||||
else
|
||||
sudo -- "$0" "$@"
|
||||
aura -Au --devel
|
||||
fi
|
||||
[ "$(whoami)" != root ] && exec sudo -- "$0" "$@"
|
||||
aura -Scc
|
||||
aura -Fy
|
||||
aura -Syu
|
||||
aura -Au --devel
|
||||
aura -Qdtq | aura -Rns -
|
||||
|
|
Loading…
Reference in a new issue