From d7ad1f3078d5a4d0dd1b2d247cf1002f55441ca2 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 11 Jul 2022 19:38:51 +0800 Subject: [PATCH] Update install.sh --- plugins/supervisor/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/supervisor/install.sh b/plugins/supervisor/install.sh index 88a83597c..cd337c8ff 100755 --- a/plugins/supervisor/install.sh +++ b/plugins/supervisor/install.sh @@ -13,7 +13,7 @@ VERSION=$2 bash ${rootPath}/scripts/getos.sh OSNAME=`cat ${rootPath}/data/osname.pl` -VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'` +OSNAME_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'` Install_app()