From 0259831957d005c64772080c85e81b03604d760f Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Mon, 6 Feb 2017 09:49:39 +0100 Subject: [PATCH] [enh] avoid deprecation warning about ynh_mkdir_tmp --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 5d11382..8a895c2 100644 --- a/scripts/install +++ b/scripts/install @@ -48,7 +48,7 @@ ynh_package_is_installed "php5-cli" \ || ynh_package_install "php5-cli" # Create tmp directory and fetch app inside -TMPDIR=$(ynh_mkdir_tmp) +TMPDIR=$(mktemp -d) extract_agendav "$TMPDIR" # Generate random password and encryption key diff --git a/scripts/upgrade b/scripts/upgrade index df04fac..7ab8868 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -54,7 +54,7 @@ ynh_package_is_installed "php5-cli" \ || ynh_package_install "php5-cli" # Create tmp directory and fetch app inside -TMPDIR=$(ynh_mkdir_tmp) +TMPDIR=$(mktemp -d) extract_agendav "$TMPDIR" # Copy and set AgenDAV configuration