This commit is contained in:
tremor021 2025-03-13 13:48:52 +01:00
parent 67c6257d40
commit beca1da3f2

View File

@ -46,7 +46,6 @@ $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
$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