diff options
author | zachir <zachir@librem.one> | 2022-08-14 00:48:34 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2022-08-14 00:48:34 -0500 |
commit | 581e22eb2a7c6c1612ec575f5db131b5a967e699 (patch) | |
tree | 5a55b023c3458c81ced414c65415db62c5fda097 | |
parent | 8e71d9b912ed205c2a3867301f43a1863522121a (diff) |
don't try to check config dir if it doesn't exist
-rw-r--r-- | install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |