fix hanatool, local at wrong spot
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Version: 1.4.2
|
# Version: 1.4.3
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# SAP HANA Schema and Tenant Management Tool (hanatool.sh)
|
# SAP HANA Schema and Tenant Management Tool (hanatool.sh)
|
||||||
#
|
#
|
||||||
@@ -365,7 +365,7 @@ case "$ACTION" in
|
|||||||
EXIT_CODE=$?
|
EXIT_CODE=$?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local target_schema_name="${NEW_SCHEMA_NAME:-$SCHEMA_NAME}"
|
target_schema_name="${NEW_SCHEMA_NAME:-$SCHEMA_NAME}"
|
||||||
if [[ "$EXIT_CODE" -eq 0 ]]; then
|
if [[ "$EXIT_CODE" -eq 0 ]]; then
|
||||||
echo "✅ Successfully imported schema."
|
echo "✅ Successfully imported schema."
|
||||||
send_notification "✅ ${ACTION} of schema '${SCHEMA_NAME}' to '${target_schema_name}' completed successfully."
|
send_notification "✅ ${ACTION} of schema '${SCHEMA_NAME}' to '${target_schema_name}' completed successfully."
|
||||||
|
|||||||
@@ -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["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["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["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.
|
# Example: Add a new script with its version.
|
||||||
# SCRIPT_PACKAGES["My Other Script"]="1.0.0|https://path/to/my-other-script.sh"
|
# SCRIPT_PACKAGES["My Other Script"]="1.0.0|https://path/to/my-other-script.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user