diff --git a/sync.sh b/sync.sh index 95c9375..2b5f2f0 100755 --- a/sync.sh +++ b/sync.sh @@ -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