diff --git a/scripts/install.sh b/scripts/install.sh index 8494b42ad..146696aa8 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -48,7 +48,7 @@ elif grep -Eqi "Debian" /etc/issue || grep -Eq "Debian" /etc/*-release; then apt install -y devscripts apt install -y wget zip unzip elif grep -Eqi "Ubuntu" /etc/issue || grep -Eq "Ubuntu" /etc/*-release; then - OSNAME='ubuntu' + OSNAME='debian' apt install -y wget zip unzip else OSNAME='unknow' diff --git a/scripts/install_dev.sh b/scripts/install_dev.sh index 5b195e0af..bbb4067cd 100755 --- a/scripts/install_dev.sh +++ b/scripts/install_dev.sh @@ -27,16 +27,16 @@ elif grep -Eq "openSUSE" /etc/*-release; then elif grep -Eq "FreeBSD" /etc/*-release; then OSNAME='freebsd' elif grep -Eqi "CentOS" /etc/issue || grep -Eq "CentOS" /etc/*-release; then - OSNAME='centos' + OSNAME='rhel' yum install -y wget zip unzip elif grep -Eqi "Fedora" /etc/issue || grep -Eq "Fedora" /etc/*-release; then OSNAME='fedora' yum install -y wget zip unzip elif grep -Eqi "Rocky" /etc/issue || grep -Eq "Rocky" /etc/*-release; then - OSNAME='rocky' + OSNAME='rhel' yum install -y wget zip unzip elif grep -Eqi "AlmaLinux" /etc/issue || grep -Eq "AlmaLinux" /etc/*-release; then - OSNAME='alma' + OSNAME='rhel' yum install -y wget zip unzip elif grep -Eqi "Amazon Linux" /etc/issue || grep -Eq "Amazon Linux" /etc/*-release; then OSNAME='amazon' @@ -47,7 +47,7 @@ elif grep -Eqi "Debian" /etc/issue || grep -Eq "Debian" /etc/*-release; then apt install -y devscripts apt install -y wget zip unzip elif grep -Eqi "Ubuntu" /etc/issue || grep -Eq "Ubuntu" /etc/*-release; then - OSNAME='ubuntu' + OSNAME='debian' apt install -y wget zip unzip else OSNAME='unknow'