aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-12-07 04:26:03 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-12-07 04:26:03 +0200
commitca389217a3abd70754ef4150f91f00d6bfe564d3 (patch)
tree35fe2e4b41030bb47332628e8590d78e625ff2e0
parentd002df626740a2ccc6d897a8c10cf65672ae0b74 (diff)
downloadarching-kaos-tools-ca389217a3abd70754ef4150f91f00d6bfe564d3.tar.gz
arching-kaos-tools-ca389217a3abd70754ef4150f91f00d6bfe564d3.tar.bz2
arching-kaos-tools-ca389217a3abd70754ef4150f91f00d6bfe564d3.zip
Bug fix repeating message
-rwxr-xr-xinstall.sh3
1 files changed, 2 insertions, 1 deletions
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