mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
update
This commit is contained in:
@@ -165,10 +165,11 @@ class plugins_api:
|
||||
+ " uninstall " + version
|
||||
|
||||
data = public.execShell(execstr)
|
||||
if data[1] == '':
|
||||
return public.returnJson(True, '已将卸载成功!')
|
||||
else:
|
||||
return public.returnJson(False, '卸载出现错误信息!' + data[1])
|
||||
return public.returnJson(True, '卸载执行成功!')
|
||||
# if data[1] == '':
|
||||
# return public.returnJson(True, '已将卸载成功!')
|
||||
# else:
|
||||
# return public.returnJson(False, '卸载出现错误信息!' + data[1])
|
||||
|
||||
def checkApi(self):
|
||||
name = request.form.get('name', '')
|
||||
|
||||
@@ -45,6 +45,7 @@ if [ $sysName == 'Darwin' ]; then
|
||||
OPTIONS='--without-iconv'
|
||||
else
|
||||
OPTIONS="--with-iconv=${serverPath}/lib/libiconv"
|
||||
OPTIONS="${OPTIONS} --with-gd --enable-gd-native-ttf"
|
||||
fi
|
||||
|
||||
# --enable-intl \
|
||||
|
||||
@@ -49,7 +49,7 @@ if [ "${isVersion}" == '' ];then
|
||||
fi
|
||||
|
||||
|
||||
yum install -y wget curl unzip zip libzip-devel mysql-devel
|
||||
yum install -y wget curl unzip zip libzip-devel mysql-devel libpng freetype
|
||||
|
||||
# if [ ! -d '/www/server/mdserver-web' ];then
|
||||
wget -O /tmp/master.zip https://codeload.github.com/midoks/mdserver-web/zip/master
|
||||
|
||||
Reference in New Issue
Block a user