diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-06-22 23:36:25 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-06-25 02:42:47 +0200 |
commit | 4c0262e02aa02fdedae18155d3ca87aeebeec87f (patch) | |
tree | eee39e563651f26ba94f051f0e9c39914765a136 /community/nextcloud | |
parent | 99b45de81c26ee1bece7393dd82ea83481e48f0d (diff) | |
download | aports-4c0262e02aa02fdedae18155d3ca87aeebeec87f.tar.bz2 aports-4c0262e02aa02fdedae18155d3ca87aeebeec87f.tar.xz |
community/nextcloud: install config.sample
Diffstat (limited to 'community/nextcloud')
-rw-r--r-- | community/nextcloud/APKBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
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 |