remove all aur-builds after archlinux iso generated
This commit is contained in:
parent
37744c319a
commit
54f85d8fa8
2 changed files with 4 additions and 4 deletions
|
@ -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/*
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue