did not have rcursive switch for copying websockets folder for sip and utility.....
authorAndy Witter <awitter@georgialibraries.org>
Thu, 10 Nov 2016 16:39:17 +0000 (11:39 -0500)
committerAndy Witter <awitter@georgialibraries.org>
Thu, 10 Nov 2016 16:39:17 +0000 (11:39 -0500)
GenaSYS.sh

index 7f7a8e5..c245a5d 100755 (executable)
@@ -25,7 +25,7 @@
     PURPOSE_="Generate config files needed for Evergreen-ILS Cluster"
    SYNOPSIS_="$NAME_"
    REQUIRES_="standard GNU commands, apt, dpkg"
-    VERSION_="1.68"
+    VERSION_="1.69"
        DATE_="2010-11-23; last update: 2016-11-10"
      AUTHOR_="Andy Witter <awitter@georgialibraries.org>"
         URL_="http://evergreen-ils.org"
@@ -3157,12 +3157,12 @@ then
        cp -f "$TEMPLATEDIR/setup_sshkeys.sh" "setup_${NODE_FOLDER}"
        cp -f "$TEMPLATEDIR/utility/opensrf-crontab" "setup_${NODE_FOLDER}"
        cp -f "$TEMPLATEDIR/Net-Z3950-SimpleServer-1.12.tar.gz" "setup_${NODE_FOLDER}"
-       cp -f "$TEMPLATEDIR/apache2/websockets" "setup_${NODE_FOLDER}" 
+       cp -rf "$TEMPLATEDIR/apache2/websockets" "setup_${NODE_FOLDER}" 
 fi
 if echo ${NODE_FOLDER} | grep -q sip0
 then
        cp -f "$TEMPLATEDIR/Net-Z3950-SimpleServer-1.12.tar.gz" "setup_${NODE_FOLDER}"
-       cp -f "$TEMPLATEDIR/apache2/websockets" "setup_${NODE_FOLDER}"
+       cp -rf "$TEMPLATEDIR/apache2/websockets" "setup_${NODE_FOLDER}"
        [ -e "${CUSTOMDIR}/oils_sip.xml" ] && cp -f "${CUSTOMDIR}/oils_sip.xml" "setup_${NODE_FOLDER}"
 fi
 if echo ${NODE_FOLDER} | grep -q reporter0