mirror of https://github.com/mack-a/v2ray-agent
fix(脚本): 修复卸载是无法删除配置的问题
parent
795eb7a8f8
commit
acbf6a3d2e
|
@ -5924,8 +5924,10 @@ unInstall() {
|
||||||
rm -rf /etc/v2ray-agent
|
rm -rf /etc/v2ray-agent
|
||||||
rm -rf ${nginxConfigPath}alone.conf
|
rm -rf ${nginxConfigPath}alone.conf
|
||||||
rm -rf ${nginxConfigPath}checkPortOpen.conf >/dev/null 2>&1
|
rm -rf ${nginxConfigPath}checkPortOpen.conf >/dev/null 2>&1
|
||||||
|
rm -rf "${nginxConfigPath}sing_box_VMess_HTTPUpgrade.conf" >/dev/null 2>&1
|
||||||
|
rm -rf ${nginxConfigPath}checkPortOpen.conf >/dev/null 2>&1
|
||||||
|
|
||||||
unInstallSubscribe
|
unInstallSubscribe
|
||||||
# rm -rf ${nginxConfigPath}subscribe.conf >/dev/null 2>&1
|
|
||||||
|
|
||||||
if [[ -d "${nginxStaticPath}" && -f "${nginxStaticPath}/check" ]]; then
|
if [[ -d "${nginxStaticPath}" && -f "${nginxStaticPath}/check" ]]; then
|
||||||
rm -rf "${nginxStaticPath}*"
|
rm -rf "${nginxStaticPath}*"
|
||||||
|
|
Loading…
Reference in New Issue