From c4a72cbb1a299e2a0d461d38fae823e2f3157629 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Thu, 1 Aug 2024 02:49:54 -0700 Subject: [PATCH] going back a bit --- service.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/service.nix b/service.nix index 57cf78f..cb5f5bd 100644 --- a/service.nix +++ b/service.nix @@ -21,11 +21,9 @@ in repo=''${args[0]} target=''${args[1]} - if [ -d "''$target" ]; then + if [ -d "$target" ]; then if "''$(${pkgs.findutils}/bin/find "''$target" -maxdepth 0 -empty)"; then echo "~ Found Files at ''$target ~" - else - echo "~ No Files in ''$target ~" fi fi done < "${config.repo-clone.pkg}"