install-osrf.sh: bugfix websocketd
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Thu, 12 Jul 2018 14:22:14 +0000 (07:22 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Thu, 12 Jul 2018 14:22:14 +0000 (07:22 -0700)
deployment/install-osrf.sh

index 6bee690..eabc475 100755 (executable)
@@ -141,7 +141,7 @@ if [[ ! -n "$SKIP_WEBSOCKETS" ]] ; then
 
   # install websocketd
   [[ -e "/tmp/websocketd" ]] && rm /tmp/websocketd
-  [[ -e "/tmp/${WEBSOCKETD_ZIP}" ]] && su -c "cd /tmp && wget '${WEBSOCKETD_URL}' && unzip ${WEBSOCKETD_ZIP}" ${DEFAULT_USER}
+  [[ -e "/tmp/${WEBSOCKETD_ZIP}" ]] && su -c "cd /tmp && wget '${WEBSOCKETD_URL}' && unzip ${WEBSOCKETD_ZIP}" ${DEFAULT_USER}
   cp /tmp/websocketd /usr/local/bin/
   WEBSOCKETD_INIT="/etc/init.d/websocketd"
   [[ -e "${WEBSOCKETD_INIT}" ]] && mv ${WEBSOCKETD_INIT} ${WEBSOCKETD_INIT}.bak