forgot substitute flag...

This commit is contained in:
nicedevil007 2023-09-29 07:22:18 +02:00
parent 3571b03705
commit 2e937a4102
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ $CONFIG = array (
); );
EOF EOF
IP4=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) IP4=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
sed "/0 => \'localhost\',/a \ \1 => '$IP4'," /usr/share/webapps/nextcloud/config/config.php sed -i "/0 => \'localhost\',/a \ \1 => '$IP4'," /usr/share/webapps/nextcloud/config/config.php
msg_ok "Set up Nextcloud-Config" msg_ok "Set up Nextcloud-Config"
msg_info "Starting Alpine-Nextcloud" msg_info "Starting Alpine-Nextcloud"