Put list of packages not found in setup directory

This commit is contained in:
RealStickman 2023-05-21 18:34:13 +02:00
parent f3beae1cb6
commit 759599e8ec

View File

@ -250,7 +250,7 @@ echo Uninstalled unused packages
echo Installing default pacman programs 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" >>notfoundpackages.txt sudo pacman -S --needed "$package" || echo "$package" >>"$setupdir/notfoundpackages.txt"
done <"$setupdir/packages/officialpkgs.txt" done <"$setupdir/packages/officialpkgs.txt"
echo Installed official programs echo Installed official programs
@ -258,7 +258,7 @@ echo Installed official programs
echo Installing wine echo Installing wine
#sudo pacman -S --needed - <"$setupdir/packages/winepkgs.txt" #sudo pacman -S --needed - <"$setupdir/packages/winepkgs.txt"
while read package; do while read package; do
sudo pacman -S --needed "$package" || echo "$package" >>notfoundpackages.txt sudo pacman -S --needed "$package" || echo "$package" >>"$setupdir/notfoundpackages.txt"
done <"$setupdir/packages/winepkgs.txt" done <"$setupdir/packages/winepkgs.txt"
echo Installed wine echo Installed wine