From 9766d2b343a4a8e17204320591385e5967034c1c Mon Sep 17 00:00:00 2001 From: Modulos Date: Tue, 25 Apr 2017 08:21:08 +0200 Subject: [PATCH] Set download directory to /tmp --- gencode-remote | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gencode-remote b/gencode-remote index 0cc8234..bc17470 100755 --- a/gencode-remote +++ b/gencode-remote @@ -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"