From 655f46fa7390c7d7537e8f7a071d6cb348f35273 Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Fri, 17 Apr 2020 22:52:47 +0300 Subject: [PATCH] [Arch] Ask user to install missing deps --- arch/updatewine_arch.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/updatewine_arch.sh b/arch/updatewine_arch.sh index f844cdf..9561247 100755 --- a/arch/updatewine_arch.sh +++ b/arch/updatewine_arch.sh @@ -235,9 +235,11 @@ function check_alldeps() { echo -e "\e[1mERROR:\e[0m The following dependencies are missing:\n\e[91m\ $(for o in ${ERRPKGS[@]}; do printf '%s\n' ${o}; done)\ \e[0m\n" + + echo -e "Please install them and try again.\n" + exit 1 fi - } ###########################################################