This commit is contained in:
tremor021 2025-03-13 13:48:11 +01:00
parent 78c74bd282
commit 67c6257d40

View File

@ -47,7 +47,7 @@ cp config/config.example.js config/config.js
sed -i "80s#//httpAddress: 'localhost'#httpAddress: '0.0.0.0'#g" /opt/cryptpad/config/config.js sed -i "80s#//httpAddress: 'localhost'#httpAddress: '0.0.0.0'#g" /opt/cryptpad/config/config.js
if [[ "$onlyoffice" =~ ^[Yy]$ ]]; then if [[ "$onlyoffice" =~ ^[Yy]$ ]]; then
#sed '24d' /opt/cryptpad/install-onlyoffice.sh #sed '24d' /opt/cryptpad/install-onlyoffice.sh
$STD bash -c ./install-onlyoffice.sh --accept-license $STD bash -c "./install-onlyoffice.sh --accept-license"
fi fi
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
msg_ok "Setup ${APPLICATION}" msg_ok "Setup ${APPLICATION}"