Rewrite for Debian only

This commit is contained in:
2025-04-06 17:27:10 +01:00
parent c0b620f606
commit 4e864a0141
8 changed files with 44 additions and 186 deletions

View File

@@ -18,9 +18,6 @@ ENDCOLOR="\e[0m"
pcheck() {
local pms=()
if command -v flatpak >/dev/null 2>&1; then
pms+=("flatpak")
fi
if command -v nix >/dev/null 2>&1; then
pms+=("nix")
fi
@@ -37,6 +34,9 @@ pcheck() {
elif command -v dnf >/dev/null 2>&1; then
pms+=("dnf")
fi
if command -v flatpak >/dev/null 2>&1; then
pms+=("flatpak")
fi
echo "${pms[@]}"
}