From 596c3ef9e8adc17c6cd7cbdbffcfb4d732974427 Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 8 Sep 2015 12:37:37 +0200 Subject: [PATCH] Quick add to the install script --- install.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 170e302..19008eb 100755 --- a/install.sh +++ b/install.sh @@ -1,9 +1,9 @@ #!/usr/bin/env bash -SCRIPT_BUILD=2015072201 +SCRIPT_BUILD=2015090801 ## Osync daemon install script -## Tested on RHEL / CentOS 6 & 7 +## Tested on RHEL / CentOS 6 & 7 and Mint 17 ## Please adapt this to fit your distro needs if [ "$(whoami)" != "root" ] @@ -12,7 +12,11 @@ then exit 1 fi -mkdir /etc/osync +if [ ! -d /etc/osync ] +then + mkdir /etc/osync +fi + cp ./sync.conf /etc/osync/sync.conf.example cp ./exclude.list.example /etc/osync cp ./osync.sh /usr/local/bin