diff --git a/setup/postinstall.sh b/setup/postinstall.sh index c9e57e1..21ee1de 100755 --- a/setup/postinstall.sh +++ b/setup/postinstall.sh @@ -54,10 +54,10 @@ command_exists() { # ─────────────────────────────────────< get packager >───────────────────────────────────── # checkPkg() { -for pkg in "apt-get dnf pacman apk zypper"; do +for pkg in apt-get dnf pacman apk zypper; do if command_exists $pkg; then printf "Using ${RED}${pkg}${NC} method.." - pkger="$pkg" + export pkger="$pkg" fi done # }