fix mistakes with include pathing
This commit is contained in:
parent
ff6a406fd9
commit
5bedc2119e
@ -8,6 +8,8 @@ dir=$(basename "$SCRIPT_DIR")
|
||||
enableUpdate="true"
|
||||
targetRepo="https://github.com/truecharts/truetool.git"
|
||||
|
||||
# CD to the folder containing the script to ensure consistent runs
|
||||
cd "${SCRIPT_DIR}" || echo -e "ERROR: Something went wrong accessing the script directory"
|
||||
|
||||
# Includes
|
||||
# shellcheck source=includes/backup.sh
|
||||
@ -31,9 +33,6 @@ source includes/update.sh
|
||||
# shellcheck source=includes/update_self.sh
|
||||
source includes/update_self.sh
|
||||
|
||||
# CD to the folder containing the script to ensure consistent runs
|
||||
cd "${SCRIPT_DIR}" || echo -e "${IRed}ERROR: Something went wrong accessing the script directory${Color_Off}"
|
||||
|
||||
title
|
||||
|
||||
[[ "$enableUpdate" == "true" ]] && updater "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user