From ca389217a3abd70754ef4150f91f00d6bfe564d3 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 7 Dec 2024 04:26:03 +0200 Subject: Bug fix repeating message --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index f2b7b27..05dd195 100755 --- a/install.sh +++ b/install.sh @@ -35,9 +35,10 @@ installCommand="" dontAskFlag="" checkPkgManager(){ declare -a pkgmanagers=("dnf" "apt" "zypper" "pacman" "apk") + printf "Searching for package manager..." for pkgm in "${pkgmanagers[@]}" do - printf "Searching for package manager..." + printf "? ${pkgm}" which $pkgm 2> /dev/null 1>&2 if [ $? -eq 0 ] then -- cgit v1.2.3