summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh2
1 files changed, 1 insertions, 1 deletions
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