Update install.sh

This commit is contained in:
midoks
2022-09-28 19:46:22 +08:00
parent 3ea67beea9
commit 8c41b4c3fa
-2
View File
@@ -10,14 +10,12 @@ serverPath=$(dirname "$rootPath")
install_tmp=${rootPath}/tmp/mw_install.pl
VERSION=0.0.15
## cd /www/server/mdserver-web/plugins/imail && bash install.sh install 1.0
bash ${rootPath}/scripts/getos.sh
OSNAME=`cat ${rootPath}/data/osname.pl`
OSNAME_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'`
get_arch() {
ARCH="amd64"
TMP_ARCH=`arch`