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