Skip to content

Commit

Permalink
0.9.8.11
Browse files Browse the repository at this point in the history
#####
1. 更新脚本

#####
  • Loading branch information
Xingsandesu committed Jan 19, 2024
1 parent bdd81ea commit 319a835
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions .shell/get-taichi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -921,21 +921,14 @@ EOF


uninstall_taichi() {
if [ -x "$(command -v docker)" ]; then
docker stop taichios
docker rm taichios
docker rmi fushin/taichios
else
if [ -x "$(command -v systemctl)" ] && systemctl --all --type=service | grep -q 'taichi'; then
systemctl stop taichi
systemctl disable taichi
fi
rm -rf /usr/taichi
rm -f /etc/systemd/system/taichi.service
if [ -x "$(command -v systemctl)" ]; then
systemctl daemon-reload
fi
fi
docker stop taichios || true
docker rm taichios || true
docker rmi fushin/taichios || true
systemctl stop taichi || true
systemctl disable taichi || true
rm -rf /usr/taichi || true
rm -f /etc/systemd/system/taichi.service || true
systemctl daemon-reload || true
}
update_taichi() {
if systemctl --all --type=service | grep -q 'taichi'; then
Expand Down

0 comments on commit 319a835

Please sign in to comment.