From 7d4b027dfa7254cca10d186e6ca72cd45a28ed4e Mon Sep 17 00:00:00 2001 From: kRHYME7 Date: Tue, 27 Aug 2024 17:40:46 +0800 Subject: [PATCH] fix creation of etcDir --- Scripts/GLOBAL-hyde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/GLOBAL-hyde b/Scripts/GLOBAL-hyde index 9e6956b..09a8421 100644 --- a/Scripts/GLOBAL-hyde +++ b/Scripts/GLOBAL-hyde @@ -410,7 +410,7 @@ export HYDE_RUNTIME_DIR=$XDG_RUNTIME_DIR/hyde # Cli Configs export etcDir="/etc/hyde-cli" - [[ "/usr" == *"${CLI_PATH}"* ]] || etcDir="$HOME/.hyde-cli" + [[ "${CLI_PATH}" == *"/usr"* ]] || etcDir="$HOME/.hyde-cli" export usrDir="${CLI_PATH}/share/hyde-cli" # Config