Add check if selectedpkgs files exist
This commit is contained in:
parent
89ab2aef9f
commit
1fad8c59e1
@ -323,14 +323,18 @@ echo Installed wine
|
||||
echo Installing selected programs
|
||||
|
||||
# install selected packages
|
||||
if [ -f "$setupdir/selectedpkgs.txt" ]; then
|
||||
echo Installing from official repository
|
||||
# NOTE || true to continue if no packages have been selected
|
||||
sudo pacman -S --needed - < "$setupdir/selectedpkgs.txt" || true
|
||||
fi
|
||||
|
||||
# install selected aur packages
|
||||
if [ -f "$setupdir/aurselectedpkgs.txt" ]; then
|
||||
echo Installing from AUR
|
||||
# NOTE || true to continue if no packages have been selected
|
||||
paru -S --needed - < "$setupdir/aurselectedpkgs.txt" || true
|
||||
fi
|
||||
|
||||
: '
|
||||
if [ $in_vmware15 -eq 1 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user