Typo __package x -> __package/x

This commit is contained in:
Modulos 2017-04-23 08:22:31 +02:00
parent 1ecd1e719a
commit 93d2b41358
2 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@ then
echo "Missing nextcloud version (parameter/version)" >&2
exit 1
fi
nextcloud_uri="${nextcloud_url}${nextcloud_version}.tar.bz2"
nextcloud_uri="${nextcloud_url}-${nextcloud_version}.tar.bz2"
# Download tar ball extract and apply script
# TODO: verify shasum of tar ball
curl -LO ${nextcloud_uri} -o ${nextcloud_dir}/nextcloud.tar.bz2

View file

@ -28,11 +28,11 @@ for package in php7.0 php7.0-gd php7.0-json php7.0-pgsql php7.0-curl php7.0-mbst
done
# Nginx
require="__package nginx" __file /etc/nginx/sites-enabled/nextcloud --owner www-data \
require="__package/nginx" __file /etc/nginx/sites-enabled/nextcloud --owner www-data \
--group www-data \
--mode 755 --source "$__type/files/nextcloud.nginx" \
--state exists
# Postgres
require="__package postgresql" __postgres_database nextcloud --owner nextcloud
require="__package/postgresql" __postgres_database nextcloud --owner nextcloud
require="__package/postgresql" __start_on_boot postgres