Update nextcloudpi-v5-install.sh

fix shell access
This commit is contained in:
tteckster 2023-01-14 14:18:23 -05:00 committed by GitHub
parent 6ee0e2047a
commit 7c75036e3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,6 +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
service apache2 restart service apache2 restart
msg_ok "Installed NextCloudPi" msg_ok "Installed NextCloudPi"