mirror of https://github.com/OpenVidu/openvidu.git
Fix installation check to use cat command for file existence
parent
88ee40b41c
commit
61cf2caa94
|
@ -632,7 +632,7 @@ locals {
|
||||||
set -eu -o pipefail
|
set -eu -o pipefail
|
||||||
|
|
||||||
# Check if installation already completed
|
# Check if installation already completed
|
||||||
if [ -e "/tmp/openvidu_install_counter.txt" ]; then
|
if cat /tmp/openvidu_install_counter.txt > /dev/null 2>&1; then
|
||||||
# restart.sh
|
# restart.sh
|
||||||
cat > /usr/local/bin/restart.sh << 'RESTART_EOF'
|
cat > /usr/local/bin/restart.sh << 'RESTART_EOF'
|
||||||
${local.restart_script}
|
${local.restart_script}
|
||||||
|
|
Loading…
Reference in New Issue