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
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 -