1 Star 0 Fork 9

木头人/rAthenaCN

forked from rAthenaCN/rAthenaCN 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
uninstall.sh 517 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/sh
#source var/function
. ./function.sh
echo "My pkg path is $PKG_PATH"
check_inst_right
read -p "WARNING: This script is experimental. Press Ctrl+C to cancel or Enter to continue." readEnterKey
case $1 in
'bin')
echo "Starting binary cleanup"
rm -rf $PKG_PATH/bin/*
echo "Binary files have been deleted"
;;
'all')
echo "Starting uninstall"
rm -rf $PKG_PATH
rm -rf /usr/bin/$PKG
echo "Uninstallation has succeed"
;;
*)
echo "Usage: Please enter a target './uninstall { all | bin }'"
esac
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/ZQ_Home/rAthenaCN.git
git@gitee.com:ZQ_Home/rAthenaCN.git
ZQ_Home
rAthenaCN
rAthenaCN
master

搜索帮助