updateall : ajout des flags -ex sur la plupart des script

This commit is contained in:
Ahurac 2023-12-08 10:28:54 +01:00
parent c1569d0215
commit 90940fb3a4
6 changed files with 5 additions and 15 deletions

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -ex
[ "$(whoami)" != root ] && exec sudo "$0" "$@" [ "$(whoami)" != root ] && exec sudo "$0" "$@"
apt-get clean apt-get clean
apt-get update apt-get update

View file

@ -1,6 +1,5 @@
#!/bin/sh #!/bin/sh -ex
paru -Scc paru -Scc
paru -Fy paru -Fy
paru paru
paru -Qdtq | paru -Rns - paru -Qdtq | paru -Rns -

View file

@ -1,6 +1,5 @@
#!/bin/sh #!/bin/sh -ex
apt clean apt clean
pkg update pkg update
pkg upgrade pkg upgrade
apt autopurge -y apt autopurge -y

View file

@ -1,6 +0,0 @@
#!/bin/sh
yay -Scc
yay -Fy
yay
yay -Qdtq | yay -Rns -

View file

@ -1,3 +1,2 @@
#!/bin/sh #!/bin/sh -ex
sudo waydroid upgrade sudo waydroid upgrade

View file

@ -1,3 +1,2 @@
#!/bin/sh #!/bin/sh -ex
yabridgectl sync yabridgectl sync