parent
c2a1a43625
commit
4b5161ee97
|
|
@ -26,6 +26,11 @@ function amh_module_install()
|
||||||
#amh module $module_name delete y;
|
#amh module $module_name delete y;
|
||||||
rm -rf /root/amh/modules/$module_name;
|
rm -rf /root/amh/modules/$module_name;
|
||||||
done;
|
done;
|
||||||
|
#Delete conflict modules
|
||||||
|
if [ -f "/root/amh/modules/limit_req2_nginx_module-1.2/InstallComplete" ]; then
|
||||||
|
amh module limit_req2_nginx_module-1.2 uninstall force;
|
||||||
|
amh module limit_req2_nginx_module-1.2 delete y;
|
||||||
|
fi;
|
||||||
#install PDO_MYSQL module and set InnoDB_Engine On
|
#install PDO_MYSQL module and set InnoDB_Engine On
|
||||||
if ! ls /root/amh/modules/ | grep -q 'PDO_MYSQL-1.0.2'; then
|
if ! ls /root/amh/modules/ | grep -q 'PDO_MYSQL-1.0.2'; then
|
||||||
amh module download PDO_MYSQL-1.0.2;
|
amh module download PDO_MYSQL-1.0.2;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue