accept license

This commit is contained in:
tremor021 2025-03-13 13:23:23 +01:00
parent 7d7a467d6d
commit 78c74bd282

View File

@ -46,8 +46,8 @@ $STD npm run install:components
cp config/config.example.js config/config.js 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 $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}"