diff --git a/scripts/serve-business.sh b/scripts/serve-business.sh index c0ef42b..783e071 100755 --- a/scripts/serve-business.sh +++ b/scripts/serve-business.sh @@ -15,6 +15,10 @@ if [ -f "config.json" ]; then fi if [ -d "radar" ]; then + # Supprimer l'ancien backup s'il existe + if [ -d "radar.backup" ]; then + rm -rf radar.backup + fi mv radar radar.backup fi