fix: exit on error

This commit is contained in:
Strix 2023-10-14 22:38:03 +02:00
parent 1efbdc318d
commit cd6b4dfc61
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

View file

@ -8,6 +8,8 @@ PULL_GIT=${PULL_GIT:-yes}
. ./lib/lib.sh
. ./sync.conf
set -e # Exit on error
_install_pkgs() {
while read -r pkg; do
run $SYS_SUDO $PM_COMMAND $PM_INSTALL_ARG $PM_NOCONFIRM_ARG $pkg