diff --git a/install.sh b/install.sh index 2d22f53..a19b584 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ # # Author: Severin Kaderli # Usage: ./install.sh -. utils.sh +. ./system/bin/utils.sh ####################################### # Configuration variables diff --git a/post-install.sh b/post-install.sh index 48caa04..dc141cf 100755 --- a/post-install.sh +++ b/post-install.sh @@ -8,7 +8,7 @@ # # Author: Severin Kaderli # Usage: ./post-install.sh -. utils.sh +. ./system/bin/utils.sh ####################################### # Configuration variables diff --git a/system/bin/upgrade.sh b/system/bin/upgrade.sh index 604d772..6eb4520 100755 --- a/system/bin/upgrade.sh +++ b/system/bin/upgrade.sh @@ -1,5 +1,8 @@ #!/bin/bash # # Author: Severin Kaderli +. utils.sh + +print_header "Update packages" aurman -Syuu --rebuild npm update -g \ No newline at end of file diff --git a/utils.sh b/system/bin/utils.sh old mode 100644 new mode 100755 similarity index 96% rename from utils.sh rename to system/bin/utils.sh index 5013cf4..91e657f --- a/utils.sh +++ b/system/bin/utils.sh @@ -5,7 +5,7 @@ ####################################### # Directory variables ####################################### -DIR="$( cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)" +DIR="$( cd "$(dirname "${BASH_SOURCE[0]}" )" && cd ../../ && pwd)" SYSTEM_DIR="${DIR}/system" PACKAGES_DIR="${DIR}/packages"