updateall : réglage script mise à jour Arch

This commit is contained in:
Ahurac 2024-03-04 15:36:02 +01:00
parent c33c733984
commit 5e358fea0c

View file

@ -1,10 +1,7 @@
#!/bin/sh -ex #!/bin/sh -ex
if [ "$(whoami)" = root ]; then [ "$(whoami)" != root ] && exec sudo -- "$0" "$@"
aura -Scc aura -Scc
aura -Fy aura -Fy
aura -Syu aura -Syu
aura -Qdtq | aura -Rns -
else
sudo -- "$0" "$@"
aura -Au --devel aura -Au --devel
fi aura -Qdtq | aura -Rns -