From 65e3c6569961ee48e4528349fe672d23ba1a1b90 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Sat, 21 Sep 2024 15:07:17 +0000 Subject: [PATCH] changed directory --- configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 648231b..405e6c9 100644 --- a/configuration.nix +++ b/configuration.nix @@ -25,7 +25,7 @@ in (pkgs.writeShellScriptBin "ad-clone" '' if [ ! -d ${adPath} ]; then sudo git clone -b ${adBranch} ${adRepo} ${adPath} - sudo chown -R appdaemon:users ${adPath} + sudo chown -R appdaemon:users $(dirname ${adPath}) else echo "${adPath} already exists" fi