feat(脚本): 删除卸载acme
parent
280af6bd06
commit
ba3168099e
14
install.sh
14
install.sh
|
@ -137,13 +137,13 @@ installTools(){
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
progressTools "yellow" "卸载acme.sh--->" 4
|
# progressTools "yellow" "卸载acme.sh--->" 4
|
||||||
rm -rf ~/.acme.sh > /dev/null
|
# rm -rf ~/.acme.sh > /dev/null
|
||||||
if [[ ! -z `cat /root/.bashrc|grep -n acme` ]]
|
# if [[ ! -z `cat /root/.bashrc|grep -n acme` ]]
|
||||||
then
|
# then
|
||||||
acmeBashrcLine=`cat /root/.bashrc|grep -n acme|awk -F "[:]" '{print $1}'|head -1`
|
# acmeBashrcLine=`cat /root/.bashrc|grep -n acme|awk -F "[:]" '{print $1}'|head -1`
|
||||||
sed -i "${acmeBashrcLine}d" /root/.bashrc
|
# sed -i "${acmeBashrcLine}d" /root/.bashrc
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
|
|
||||||
progressTools "yellow" "检查、安装更新【新机器会很慢,耐心等待】--->" 5
|
progressTools "yellow" "检查、安装更新【新机器会很慢,耐心等待】--->" 5
|
||||||
|
|
Loading…
Reference in New Issue