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
|
links
|
||||||
|
|
||||||
|
rm -Rv /home/${user}/aur-builds
|
||||||
|
|
||||||
pacman -Qq > /pkglist.txt
|
pacman -Qq > /pkglist.txt
|
||||||
if [ $(ls /var/cache/pacman/pkg | wc -w) -gt 0 ]; then
|
if [ $(ls /var/cache/pacman/pkg | wc -w) -gt 0 ]; then
|
||||||
rm -R /var/cache/pacman/pkg/*
|
rm -R /var/cache/pacman/pkg/*
|
||||||
|
|
|
@ -11,11 +11,9 @@ fi
|
||||||
|
|
||||||
echo "Durchsuche auf neue Packete indem fremde Packete angezeigt werden!!!"
|
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)
|
for wort in $(pacman -Qmq)
|
||||||
do
|
do
|
||||||
echo "$wort"
|
echo "$wort"
|
||||||
if [ -d "/home/${user}/aur-builds/${wort}" ];then
|
/usr/bin/aurinstaller ${wort}
|
||||||
/usr/bin/aurinstaller ${wort}
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue