From 259b442980dafc9a5b1ddbfda617641f60f8d84c Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 10 Jun 2022 16:08:34 +0800 Subject: [PATCH] Update install.sh --- scripts/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install.sh b/scripts/install.sh index f576d7901..43373d6b5 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -27,8 +27,11 @@ elif grep -Eqi "Amazon Linux AMI" /etc/issue || grep -Eq "Amazon Linux AMI" /etc elif grep -Eqi "Debian" /etc/issue || grep -Eq "Debian" /etc/*-release; then OSNAME='debian' elif grep -Eqi "Ubuntu" /etc/issue || grep -Eq "Ubuntu" /etc/*-release; then + OSNAME='ubuntu' sudo ln -sf /bin/bash /bin/sh + # sudo dpkg-reconfigure dash + elif grep -Eqi "Raspbian" /etc/issue || grep -Eq "Raspbian" /etc/*-release; then OSNAME='raspbian' elif grep -Eqi "Deepin" /etc/issue || grep -Eq "Deepin" /etc/*-release; then