Check for package list being present when installing
This commit is contained in:
parent
2b9e64b30b
commit
c02936840b
@ -6,7 +6,7 @@
|
|||||||
# AIF, Calamares, and the Arch Wiki.. Credit where credit is due
|
# AIF, Calamares, and the Arch Wiki.. Credit where credit is due
|
||||||
|
|
||||||
# shellcheck disable=2086,2046,2254,2164,2030,2031,2001
|
# shellcheck disable=2086,2046,2254,2164,2030,2031,2001
|
||||||
VER=2.25
|
VER=2.26
|
||||||
|
|
||||||
# default values {
|
# default values {
|
||||||
|
|
||||||
@ -1987,8 +1987,11 @@ install_packages()
|
|||||||
sleep 0.5
|
sleep 0.5
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
chrun "pacman -S ${goodinpkg[*]} --needed --noconfirm" 2> "$ERR" 2>&1
|
|
||||||
errshow 1 "chrun 'pacman -S ${goodinpkg[*]} --needed --noconfirm'"
|
if [[ "${goodinpkg[*]}" ]]; then
|
||||||
|
chrun "pacman -S ${goodinpkg[*]} --needed --noconfirm" 2> "$ERR" 2>&1
|
||||||
|
errshow 1 "chrun 'pacman -S ${goodinpkg[*]} --needed --noconfirm'"
|
||||||
|
fi
|
||||||
|
|
||||||
# install the ArchLabs packages, if it fails we'll inform the user and try again
|
# install the ArchLabs packages, if it fails we'll inform the user and try again
|
||||||
if [[ ${alpkg[*]} ]] && ! chrun "pacman -S ${alpkg[*]} --needed --noconfirm" 2> "$ERR" 2>&1; then
|
if [[ ${alpkg[*]} ]] && ! chrun "pacman -S ${alpkg[*]} --needed --noconfirm" 2> "$ERR" 2>&1; then
|
||||||
|
Reference in New Issue
Block a user