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