Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ncp/CONFIG/nc-init.sh')
-rw-r--r--bin/ncp/CONFIG/nc-init.sh15
1 files changed, 9 insertions, 6 deletions
diff --git a/bin/ncp/CONFIG/nc-init.sh b/bin/ncp/CONFIG/nc-init.sh
index 629e88ac..0af0d706 100644
--- a/bin/ncp/CONFIG/nc-init.sh
+++ b/bin/ncp/CONFIG/nc-init.sh
@@ -144,16 +144,19 @@ EOF
# enable some apps by default
ncc app:install calendar
+ ncc app:enable calendar
ncc app:install contacts
+ ncc app:enable contacts
ncc app:install notes
+ ncc app:enable notes
ncc app:install tasks
- ncc app:install news
+ ncc app:enable tasks
- ncc app:enable calendar
- ncc app:enable contacts
- ncc app:enable notes
- ncc app:enable tasks
- ncc app:enable news
+ # News dropped support for 32-bit -> https://github.com/nextcloud/news/issues/1423
+ if ! [[ "$(uname -m)" =~ "armv7" ]]; then
+ ncc app:install news
+ ncc app:enable news
+ fi
# ncp-previewgenerator
cp -r /var/www/ncp-previewgenerator /var/www/nextcloud/apps/previewgenerator