diff options
Diffstat (limited to 'etc/nextcloudpi-config.d/nc-init.sh')
-rw-r--r-- | etc/nextcloudpi-config.d/nc-init.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/nextcloudpi-config.d/nc-init.sh b/etc/nextcloudpi-config.d/nc-init.sh index 5aefc601..d06d4953 100644 --- a/etc/nextcloudpi-config.d/nc-init.sh +++ b/etc/nextcloudpi-config.d/nc-init.sh @@ -112,8 +112,8 @@ replace into oc_appconfig values ( 'theming', 'backgroundMime', "image/png" ); EOF # NCP notifications - local URL=$( curl -s https://api.github.com/repos/nextcloud/admin_notifications/releases | \ - grep browser_download_url | head -1 | cut -d '"' -f 4 ) + local URL=$( wget -q -O - https://api.github.com/repos/nextcloud/admin_notifications/releases | \ + grep browser_download_url | head -1 | cut -d '"' -f 4 ) cd /var/www/nextcloud/apps wget "$URL" -O admin_notifications.tar.gz tar -xf admin_notifications.tar.gz |