Update uninstall
This commit is contained in:
parent
e49c81d835
commit
7307381e62
|
|
@ -134,7 +134,7 @@ function pre_install(){
|
||||||
yum install -y m2crypto automake make curl curl-devel zlib-devel perl perl-devel cpio expat-devel gettext-devel
|
yum install -y m2crypto automake make curl curl-devel zlib-devel perl perl-devel cpio expat-devel gettext-devel
|
||||||
else
|
else
|
||||||
apt-get -y update
|
apt-get -y update
|
||||||
apt-get -y install python python-dev python-pip m2crypto curl wget unzip gcc swig automake make perl cpio build-essential
|
apt-get -y install python python-dev python-pip python-m2crypto curl wget unzip gcc swig automake make perl cpio build-essential
|
||||||
fi
|
fi
|
||||||
cd $cur_dir
|
cd $cur_dir
|
||||||
}
|
}
|
||||||
|
|
@ -267,7 +267,7 @@ function uninstall_shadowsocks(){
|
||||||
fi
|
fi
|
||||||
rm -f /etc/shadowsocks.json
|
rm -f /etc/shadowsocks.json
|
||||||
rm -f /etc/init.d/shadowsocks
|
rm -f /etc/init.d/shadowsocks
|
||||||
rm -rf /etc/local/shadowsocks
|
rm -rf /usr/local/shadowsocks
|
||||||
echo "ShadowsocksR uninstall success!"
|
echo "ShadowsocksR uninstall success!"
|
||||||
else
|
else
|
||||||
echo "uninstall cancelled, Nothing to do"
|
echo "uninstall cancelled, Nothing to do"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user