Abrechnung Generierung

This commit is contained in:
Moritz Utcke
2025-08-04 17:23:04 -04:00
parent 3096f05f67
commit f56684a6e8
21 changed files with 459 additions and 115 deletions

View File

@@ -54,4 +54,8 @@ docker exec -i "online-energieausweis-database-1" env PGPASSWORD="hHMP8cd^N3SnzG
echo "✅ Import complete."
# === Optional: Clean up
rm "$FILENAME" "$SQL_FILE"
# If custom file was provided, do not delete it
if [ -z "$CUSTOM_FILE" ]; then
echo "🧹 Cleaning up downloaded files..."
rm "$FILENAME" "$SQL_FILE"
fi