chore(dd-ctl): Fixed message when missing .conf

darta 2021-12-29 08:43:49 +01:00
parent bcaa8e843a
commit 3673268f48
1 changed files with 1 additions and 1 deletions

2
dd-ctl
View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
if [ ! -d "custom" ]; then echo "You need to copy custom.sample to custom folder and adapt it to your needs." && exit 1; fi if [ ! -d "custom" ]; then echo "You need to copy custom.sample to custom folder and adapt it to your needs." && exit 1; fi
if [ ! -f "digitaldemocratic.conf" ]; then echo "You need to copy digitaldemocratic.conf.sample to .sample to custom folder and adapt" && exit 1; fi if [ ! -f "digitaldemocratic.conf" ]; then echo "You need to copy digitaldemocratic.conf.sample to digitaldemocratic.conf and adapt" && exit 1; fi
OPERATION="$1" OPERATION="$1"
if [ -z "$OPERATION" ]; then if [ -z "$OPERATION" ]; then