diff --git a/install.sh b/install.sh index b04cfba..52d686c 100755 --- a/install.sh +++ b/install.sh @@ -56,7 +56,8 @@ function install_host() { fi done - sudo /opt/debian_bash/tools/idem_apt_install "${REQUIRED_PKGS[@]}" + apt update + apt install -y "${REQUIRED_PKGS[@]}" fi } diff --git a/tools/debian_bash_upgrade b/tools/debian_bash_upgrade index 973b3b9..89c0381 100755 --- a/tools/debian_bash_upgrade +++ b/tools/debian_bash_upgrade @@ -1,5 +1,7 @@ #!/bin/bash +set -Eeuo pipefail + if [[ -d /opt/debian-bash ]]; then local_release=$(cat /opt/debian-bash/.semver_git_tag) fi