mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Use ynh_smart_mktemp
This commit is contained in:
parent
30c19929cb
commit
87d92b35a0
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ do
|
||||||
ynh_replace_string "__SHA256_SUM__" "$nextcloud_source_sha256" "../conf/app.src"
|
ynh_replace_string "__SHA256_SUM__" "$nextcloud_source_sha256" "../conf/app.src"
|
||||||
|
|
||||||
# Create a temporary directory
|
# Create a temporary directory
|
||||||
tmpdir="${final_path}_temp_upgrade_dir"
|
tmpdir="$(ynh_smart_mktemp 300)"
|
||||||
|
|
||||||
# Install the next nextcloud version in $tmpdir
|
# Install the next nextcloud version in $tmpdir
|
||||||
ynh_setup_source "$tmpdir"
|
ynh_setup_source "$tmpdir"
|
||||||
|
|
Loading…
Add table
Reference in a new issue