coolify/scripts
Andras Bacsai c631627200 Add safety checks to prevent dangerous deletions
Added multiple safety validations before executing rm -rf commands:
- Check WORKTREE_PATH is not empty, /, /Users, or $HOME
- Verify we're actually in a git repository (.git exists)

This prevents accidental deletion of critical directories if the script
is run in the wrong location or with unexpected environment variables.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 12:28:57 +01:00
..
cloud_upgrade.sh refactor: improve deployment status check in isAnyDeploymentInprogress function 2025-01-10 18:34:16 +01:00
conductor-setup.sh Add safety checks to prevent dangerous deletions 2025-11-19 12:28:57 +01:00
install.sh fix(install): ensure proper quoting of environment file paths to prevent issues with spaces 2025-09-25 11:45:07 +02:00
run fix: ui + migrations 2024-12-11 10:14:12 +01:00
sync_volume.sh sync volume script 2023-10-03 15:48:07 +02:00
upgrade.sh refactor(upgrade): enhance logging and quoting in upgrade scripts 2025-09-24 13:18:48 +02:00