From 56672a3cfd6eb8aefd05059479e5ef9158772d8a Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sat, 25 Jan 2025 10:50:52 +0100 Subject: [PATCH] fixed distro ifs case moo --- configure.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.sh b/configure.sh index f63721f..8056eca 100755 --- a/configure.sh +++ b/configure.sh @@ -36,10 +36,10 @@ ARCH_GENTOO_COMMON="$COMMON json-c libgit2 gmp openssl" if [[ $DISTRO == "arch" ]] then COMMAND="pacman -S --needed --noconfirm $ARCH_GENTOO_COMMON" -elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]] +elif [[ $DISTRO == "debian" ]] then COMMAND="apt-get install -y $COMMON libjson-c-dev libcurl4-openssl-dev libgit2-dev libgmp-dev libssl-dev" -elif [[ $DISTRO == "Gentoo" ]] +elif [[ $DISTRO == "gentoo" ]] then COMMAND="emerge -vn $ARCH_GENTOO_COMMON"