From e8e0fcf2472a3438f92fc2f81e10ef2e8a1b3617 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Sun, 7 Jul 2024 23:43:46 +0200 Subject: [PATCH] typo in need function --- ex-installer0019.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ex-installer0019.sh b/ex-installer0019.sh index 1e28f58..ba62d7b 100755 --- a/ex-installer0019.sh +++ b/ex-installer0019.sh @@ -26,8 +26,7 @@ INSTALLER_TAG="v0.0.19-Devel" function need () { type -p $1 > /dev/null && return dpkg -l $1 2>&1 | egrep ^ii >/dev/null && return - sudo apt-get install $1 - type -p $1 > /dev/null && return + sudo apt-get install $1 && return echo "Could not install $1, abort" exit 255 }