From dc2998dfafd01c073ea441e58422c58ec86aa703 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Fri, 10 Feb 2023 22:56:23 -0600 Subject: "Run" dependency installation --- misc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc b/misc index 0974561..3b46cbd 100755 --- a/misc +++ b/misc @@ -169,14 +169,14 @@ with_repo() { # with_repo COMMAND ... install_deps() { # install_deps for dep in "${MISC_DEPENDENCIES[@]}"; do - misc "${_ARGS[@]}" "$dep" || + run misc "${_ARGS[@]}" "$dep" || die 60 "Error installing dependency: \"$dep\"" done if command -v apt >/dev/null 2>&1; then for dep in "${APT_DEPENDENCIES[@]}"; do # XXX: I don't like how hacky this is. if [[ "$(apt list --installed "$dep" 2>/dev/null | wc -l)" -lt 2 ]]; then - sudo apt install "$dep" || + run sudo apt install "$dep" || die 65 "Error installing dependency: \"$dep\"" fi done -- cgit 1.4.1-21-gabe81