This commit is contained in:
RealStickman 2023-05-21 18:38:12 +02:00
parent e9c8587a2b
commit 19a529992e

View File

@ -238,6 +238,8 @@ for choice in $choices; do
esac esac
done done
rm "$setupdir/notfoundpackages.txt"
#uninstalling unused packages #uninstalling unused packages
echo Uninstalling unused packages echo Uninstalling unused packages
#sudo pacman -Rns - <"$setupdir/packages/uninstall.txt" #sudo pacman -Rns - <"$setupdir/packages/uninstall.txt"
@ -251,6 +253,7 @@ echo Installing default pacman programs
#sudo pacman -S --needed - <"$setupdir/packages/officialpkgs.txt" #sudo pacman -S --needed - <"$setupdir/packages/officialpkgs.txt"
while read package; do while read package; do
sudo pacman -S --needed "$package" || echo "$package" >>"$setupdir/notfoundpackages.txt" sudo pacman -S --needed "$package" || echo "$package" >>"$setupdir/notfoundpackages.txt"
exit
done <"$setupdir/packages/officialpkgs.txt" done <"$setupdir/packages/officialpkgs.txt"
echo Installed official programs echo Installed official programs