From 4c0262e02aa02fdedae18155d3ca87aeebeec87f Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Thu, 22 Jun 2017 23:36:25 +0200 Subject: community/nextcloud: install config.sample --- community/nextcloud/APKBUILD | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'community/nextcloud') diff --git a/community/nextcloud/APKBUILD b/community/nextcloud/APKBUILD index 2e5af0d43c..0a38c44b47 100644 --- a/community/nextcloud/APKBUILD +++ b/community/nextcloud/APKBUILD @@ -40,19 +40,21 @@ package() { mkdir -p ./${wwwdir%/*} cp -a "$builddir" ./$wwwdir - rm -r ./$wwwdir/config chmod +x ./$wwwdir/occ chmod 664 ./$wwwdir/.htaccess \ ./$wwwdir/.user.ini install -d -m 770 -o nextcloud -g www-data ./$confdir ./$datadir + mv ./$wwwdir/config/* ./$confdir/ + rm -r ./$wwwdir/config + ln -s /$confdir ./$wwwdir/config + install -m 660 -o nextcloud -g www-data \ "$srcdir"/$pkgname-config.php ./$confdir/config.php - ln -s /$confdir ./$wwwdir/config mkdir -p ./${_appsdir%/*} - mv "$wwwdir"/apps ./$_appsdir + mv ./$wwwdir/apps ./$_appsdir chown -R nextcloud:www-data ./$_appsdir chmod -R 770 ./$_appsdir ln -s /$_appsdir ./$wwwdir/apps -- cgit v1.2.3