Update nextcloudpi-install.sh

add 0.0.0.0 as a trusted domain
This commit is contained in:
tteckster 2022-12-20 23:05:51 -05:00 committed by GitHub
parent bb88143a65
commit 1b1f7bd51f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,6 +86,8 @@ msg_ok "Installed Dependencies"
msg_info "Installing NextCloudPi (Patience)"
curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | bash &>/dev/null
sed -i "s/3 => 'nextcloudpi.lan',/3 => '0.0.0.0',/g" /var/www/nextcloud/config/config.php
sudo service apache2 restart
msg_ok "Installed NextCloudPi"
PASS=$(grep -w "root" /etc/shadow | cut -b6)