Set download directory to /tmp

This commit is contained in:
Modulos 2017-04-25 08:21:08 +02:00
parent e34c614813
commit 9766d2b343

View file

@ -34,7 +34,7 @@ fi
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
tar -C /var/www -xvjf ${nextcloud_dir}/nextcloud.tar.bz2
rm ${nextcloud_dir}/nextcloud.tar.bz2
bash ${__type}/files/nextcloud.sh
curl -LO ${nextcloud_uri} -o /tmp/nextcloud.tar.bz2
tar -C /var/www -xvjf /tmp/nextcloud.tar.bz2
rm /tmp/nextcloud.tar.bz2
bash "$__type/files/nextcloud.sh"