forked from DeathByDenim/gameserver
Fix bad if statement
This commit is contained in:
parent
2321c99593
commit
52711370d3
|
@ -26,7 +26,7 @@ for file in /var/www/html/*\.html; do
|
|||
sed -i $file -e "/SERVERSTATE/r $(dirname "$0")/../website/_state/online.html"
|
||||
sed -i $file -e "/SERVERSTATE/d"
|
||||
done
|
||||
if [ $NOSSL -eq 1 ]; then
|
||||
if [ x"$NOSSL" = "x" ] || [ $NOSSL -eq 1 ]; then
|
||||
for file in /var/www/html/js/*\.js; do
|
||||
sed -i $file -e s/"wss:"/"ws:"/g
|
||||
sed -i $file -e s/"https:"/"http:"/g
|
||||
|
|
Loading…
Reference in New Issue