From 45f7ac486e76bcfcafd23bfa1a1d9e21fdfa5b93 Mon Sep 17 00:00:00 2001 From: infstate Date: Mon, 29 Jul 2024 18:20:14 -0700 Subject: [PATCH] fixed pkg manager checks --- src/commands/system-setup/1-compile-setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/system-setup/1-compile-setup.sh b/src/commands/system-setup/1-compile-setup.sh index 345f09c8..029d6259 100755 --- a/src/commands/system-setup/1-compile-setup.sh +++ b/src/commands/system-setup/1-compile-setup.sh @@ -53,12 +53,12 @@ installDepend() { fi "$AUR_HELPER" --noconfirm -S "$DEPENDENCIES" ;; - apt) + apt|apt-get|nala) COMPILEDEPS='build-essential' sudo "$PACKAGER" update sudo dpkg --add-architecture i386 sudo "$PACKAGER" update - sudo "$PACKAGER" install -y "$DEPENDENCIES" $COMPILEDEPS + sudo "$PACKAGER" install -y $DEPENDENCIES $COMPILEDEPS ;; dnf) COMPILEDEPS='@development-tools' @@ -74,7 +74,7 @@ installDepend() { sudo "$PACKAGER" --non-interactive install libgcc_s1-gcc7-32bit glibc-devel-32bit ;; *) - sudo "$PACKAGER" install -y "$DEPENDENCIES" + sudo "$PACKAGER" install -y $DEPENDENCIES # Fixed bug where no packages found on debian-based ;; esac }