diff --git a/scripts/install.sh b/scripts/install.sh index 4e0f92235..2a57ad5c6 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -35,8 +35,6 @@ elif grep -Eqi "Ubuntu" /etc/issue || grep -Eq "Ubuntu" /etc/*-release; then OSNAME='ubuntu' 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 - OSNAME='deepin' else OSNAME='unknow' fi diff --git a/scripts/update.sh b/scripts/update.sh index ff16abec1..e81317522 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -30,8 +30,6 @@ elif grep -Eqi "Ubuntu" /etc/issue || grep -Eq "Ubuntu" /etc/*-release; then OSNAME='ubuntu' 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 - OSNAME='deepin' else OSNAME='unknow' fi