From 54f85d8fa8137b72d75d299667de50950ce282be Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Thu, 13 Jul 2023 18:57:20 +0200 Subject: [PATCH] remove all aur-builds after archlinux iso generated --- arch-graphical-install-auto.sh | 2 ++ scripts/aurupdater.sh | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch-graphical-install-auto.sh b/arch-graphical-install-auto.sh index e9f2d15..2359b41 100755 --- a/arch-graphical-install-auto.sh +++ b/arch-graphical-install-auto.sh @@ -737,6 +737,8 @@ if [ "${archisoinstall}" == "y" ]; then links + rm -Rv /home/${user}/aur-builds + pacman -Qq > /pkglist.txt if [ $(ls /var/cache/pacman/pkg | wc -w) -gt 0 ]; then rm -R /var/cache/pacman/pkg/* diff --git a/scripts/aurupdater.sh b/scripts/aurupdater.sh index f2a2f4f..79943ec 100755 --- a/scripts/aurupdater.sh +++ b/scripts/aurupdater.sh @@ -11,11 +11,9 @@ fi echo "Durchsuche auf neue Packete indem fremde Packete angezeigt werden!!!" -# for-schleife +# for-schleife für verwaiste Packete vom AUR for wort in $(pacman -Qmq) do echo "$wort" - if [ -d "/home/${user}/aur-builds/${wort}" ];then - /usr/bin/aurinstaller ${wort} - fi + /usr/bin/aurinstaller ${wort} done