From baed3454179e98307ebb06273ec7564bf0232340 Mon Sep 17 00:00:00 2001 From: pavlik_dev Date: Thu, 17 Oct 2024 17:56:16 +0300 Subject: [PATCH] change configure back T-T --- configure | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/configure b/configure index cbaeec1..7200000 100755 --- a/configure +++ b/configure @@ -3,23 +3,23 @@ # Function to install libmagic-dev on Debian-based distros install_debian() { echo "Detected Debian-based distro. Installing libmagic-dev..." - if [ "$EUID" -ne 0 ] +# if [ "$EUID" -ne 0 ] sudo apt-get update sudo apt-get install -y libmagic-dev - else - apt-get update - apt-get install -y libmagic-dev - fi +# else +# apt-get update +# apt-get install -y libmagic-dev +# fi } # Function to install file-devel on Red Hat-based distros install_redhat() { echo "Detected Red Hat-based distro. Installing file-devel..." - if [ "$EUID" -ne 0 ] +# if [ "$EUID" -ne 0 ] sudo yum install -y file-devel - else - yum install -y file-devel - fi +# else +# yum install -y file-devel +# fi } # Function to install libmagic on Arch-based distros