From 0dc18265ad1a672f6ebde34e44905f33efbc2c2b Mon Sep 17 00:00:00 2001 From: Tomi Eckert Date: Wed, 24 Sep 2025 19:57:01 +0200 Subject: [PATCH] update aurora, add disk cleanup --- aurora/aurora.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/aurora/aurora.sh b/aurora/aurora.sh index 11d9083..ee04d51 100644 --- a/aurora/aurora.sh +++ b/aurora/aurora.sh @@ -83,6 +83,12 @@ run_post_scripts() { echo "All post-import scripts completed." } +cleanup_exported_files() { + echo "Cleaning up exported files from '${AURORA_TEMP_DIR}'." + rm -rf "$AURORA_TEMP_DIR" + echo "Exported files cleaned up." +} + # === SCRIPT EXECUTION === if [ $# -eq 0 ]; then @@ -92,6 +98,7 @@ if [ $# -eq 0 ]; then import_and_rename grant_privileges run_post_scripts + cleanup_exported_files echo "=== 'Complete' operation finished successfully ===" exit 0 fi