little flowey

This commit is contained in:
Caleb James DeLisle
2017-04-25 16:04:17 +02:00
parent 5194677443
commit 211113fb1a
8 changed files with 25 additions and 15 deletions

View File

@@ -4,12 +4,12 @@
mkdir -p customize
[ -z "$(ls -A customize)" ] && echo "Creating customize folder" \
&& cp -R customize.dist/* customize/ \
&& cp config.js.dist customize/config.js
&& cp config.example.js customize/config.js
# Linking config.js
# Linking config.js
[ ! -h config.js ] && echo "Linking config.js" && ln -s customize/config.js config.js
# Configure
# Configure
[ -n "$USE_SSL" ] && echo "Using secure websockets: $USE_SSL" \
&& sed -i "s/useSecureWebsockets: .*/useSecureWebsockets: ${USE_SSL},/g" customize/config.js