From 581e22eb2a7c6c1612ec575f5db131b5a967e699 Mon Sep 17 00:00:00 2001 From: zachir Date: Sun, 14 Aug 2022 00:48:34 -0500 Subject: don't try to check config dir if it doesn't exist --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 00342f6..6de1e59 100644 --- a/install.sh +++ b/install.sh @@ -6,7 +6,7 @@ installifexists () { if ! [ -d "/etc/runit/sv/$1" ]; then sudo cp -rn $1 /etc/runit/sv/ fi - if [ -n "$(ls -A config/$1)" ]; then + if [ -d "config/$1" ]; then printf "and config to /etc...\n" sudo cp -rn config/$1/ /etc/ fi -- cgit v1.2.3