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:
parent
36436f41a4
commit
0259831957
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue