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"