Fix log command not found error in main-installer
- Move utils-module.sh sourcing before any log function calls - Remove duplicate sourcing line 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
0bce35d899
commit
72d230706a
@ -21,6 +21,9 @@ NC='\033[0m' # No Color
|
|||||||
# Get current directory
|
# Get current directory
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||||
|
|
||||||
|
# Source the utils module first to make the log function available
|
||||||
|
source "${SCRIPT_DIR}/modules/utils-module.sh"
|
||||||
|
|
||||||
# Print header
|
# Print header
|
||||||
echo -e "${BOLD}==================================================${NC}"
|
echo -e "${BOLD}==================================================${NC}"
|
||||||
echo -e "${BOLD} Transmission RSS Manager Installer ${NC}"
|
echo -e "${BOLD} Transmission RSS Manager Installer ${NC}"
|
||||||
@ -89,8 +92,7 @@ for module in "${REQUIRED_MODULES[@]}"; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# Source the module files
|
# Source the remaining module files
|
||||||
source "${SCRIPT_DIR}/modules/utils-module.sh" # Load utilities first for logging
|
|
||||||
source "${SCRIPT_DIR}/modules/config-module.sh"
|
source "${SCRIPT_DIR}/modules/config-module.sh"
|
||||||
source "${SCRIPT_DIR}/modules/dependencies-module.sh"
|
source "${SCRIPT_DIR}/modules/dependencies-module.sh"
|
||||||
source "${SCRIPT_DIR}/modules/service-setup-module.sh"
|
source "${SCRIPT_DIR}/modules/service-setup-module.sh"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user