Skip to content

Commit

Permalink
Merge pull request #110 from monlor:test
Browse files Browse the repository at this point in the history
fix: 🐛 卸载脚本错误
  • Loading branch information
monlor authored Jun 13, 2024
2 parents ee41e83 + 0bd9080 commit f7d2953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ echo "停止服务..."
$DOCKER_COMPOSE -f "$install_path/docker-compose.yml" down $docker_params

if [ "$delete_volume" = "y" ]; then
rm -rf "${install_path:?}/*"
rm -rf "${install_path:?}"/*
else
find "${install_path:?}" -type f -not -path "${install_path}/data/*" -delete
fi

0 comments on commit f7d2953

Please sign in to comment.