This commit is contained in:
19
phpmyadmin/uninstall.sh
Normal file
19
phpmyadmin/uninstall.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:$PATH
|
||||
|
||||
source <(curl -f -s --connect-timeout 10 --retry 3 https://dl.acepanel.net/public.sh)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Download public.sh failed, please check the network or try again later."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
phpmyadmin_path="${setup_path}/server/phpmyadmin"
|
||||
|
||||
rm -rf ${setup_path}/sites/phpmyadmin
|
||||
rm -rf ${phpmyadmin_path}
|
||||
acepanel app remove phpmyadmin
|
||||
systemctl reload nginx
|
||||
|
||||
echo -e $HR
|
||||
echo "Uninstall successful"
|
||||
echo -e $HR
|
||||
Reference in New Issue
Block a user