Update nextcloudpi-v5-install.sh

This commit is contained in:
tteckster 2023-01-14 14:42:36 -05:00 committed by GitHub
parent 7c75036e3c
commit d632dd48d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ msg_ok "Installed Dependencies"
msg_info "Installing NextCloudPi (Patience)" msg_info "Installing NextCloudPi (Patience)"
$STD bash <(curl -fsSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh) $STD bash <(curl -fsSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh)
sed -i "s/3 => 'nextcloudpi.lan',/3 => '0.0.0.0',/g" /var/www/nextcloud/config/config.php sed -i "s/3 => 'nextcloudpi.lan',/3 => '0.0.0.0',/g" /var/www/nextcloud/config/config.php
sed -i '{s|root:/usr/sbin/nologing|root:/bin/bash|g}' /etc/passwd sed -i '{s|root:/usr/sbin/nologin|root:/bin/bash|g}' /etc/passwd
service apache2 restart service apache2 restart
msg_ok "Installed NextCloudPi" msg_ok "Installed NextCloudPi"