ma deployment/owncloud: owncloud -> nextcloud

This commit is contained in:
makefu 2019-04-17 20:52:51 +02:00
parent 5791ac969b
commit 3beadb0c52

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