1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/agendav_ynh.git synced 2024-09-03 20:36:12 +02:00

[enh] avoid deprecation warning about ynh_mkdir_tmp

This commit is contained in:
Julien Malik 2017-02-06 09:49:39 +01:00
parent 36436f41a4
commit 0259831957
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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