ma deployment/owncloud: owncloud -> nextcloud

This commit is contained in:
makefu 2019-04-17 20:52:51 +02:00
parent 807546f87b
commit a7828387a9
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -23,9 +23,9 @@ let
in {
system.activationScripts."prepare-nextcloud-${domain}" = ''
if test ! -e ${root} ;then
echo "copying latest ${pkgs.owncloud.name} release to ${root}"
echo "copying latest ${pkgs.nextcloud.name} release to ${root}"
mkdir -p $(dirname "${root}")
cp -r ${pkgs.owncloud} "${root}"
cp -r ${pkgs.nextcloud} "${root}"
chown -R nginx:nginx "${root}"
chmod 770 "${root}"
fi