From 7ba2f3565e8656ea58a31c28009e875f809853ff Mon Sep 17 00:00:00 2001 From: Tomi Eckert Date: Wed, 24 Sep 2025 20:02:49 +0200 Subject: [PATCH] fix hanatool, local at wrong spot --- hanatool.sh | 4 ++-- packages.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hanatool.sh b/hanatool.sh index 6d19988..aa269f7 100644 --- a/hanatool.sh +++ b/hanatool.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Version: 1.4.2 +# Version: 1.4.3 # ============================================================================== # SAP HANA Schema and Tenant Management Tool (hanatool.sh) # @@ -365,7 +365,7 @@ case "$ACTION" in EXIT_CODE=$? fi - local target_schema_name="${NEW_SCHEMA_NAME:-$SCHEMA_NAME}" + target_schema_name="${NEW_SCHEMA_NAME:-$SCHEMA_NAME}" if [[ "$EXIT_CODE" -eq 0 ]]; then echo "✅ Successfully imported schema." send_notification "✅ ${ACTION} of schema '${SCHEMA_NAME}' to '${target_schema_name}' completed successfully." diff --git a/packages.conf b/packages.conf index f17e2ad..ccef649 100644 --- a/packages.conf +++ b/packages.conf @@ -12,6 +12,6 @@ SCRIPT_PACKAGES["Backup Suite"]="1.0.5|https://git.technopunk.space/tomi/Scripts SCRIPT_PACKAGES["Monitor Suite"]="1.0.5|https://git.technopunk.space/tomi/Scripts/raw/branch/main/monitor/monitor.sh https://git.technopunk.space/tomi/Scripts/raw/branch/main/monitor/monitor.conf" SCRIPT_PACKAGES["Key Manager"]="1.2.1|https://git.technopunk.space/tomi/Scripts/raw/branch/main/hdb_keymanager.sh" SCRIPT_PACKAGES["File Cleaner"]="1.1.0|https://git.technopunk.space/tomi/Scripts/raw/branch/main/clean.sh" -SCRIPT_PACKAGES["HANA Tool"]="1.4.2|https://git.technopunk.space/tomi/Scripts/raw/branch/main/hanatool.sh" +SCRIPT_PACKAGES["HANA Tool"]="1.4.3|https://git.technopunk.space/tomi/Scripts/raw/branch/main/hanatool.sh" # Example: Add a new script with its version. # SCRIPT_PACKAGES["My Other Script"]="1.0.0|https://path/to/my-other-script.sh"