Browse Source

Use ynh_smart_mktemp

pull/127/head
Maniack Crudelis 8 years ago
committed by GitHub
parent
commit
87d92b35a0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      scripts/upgrade

2
scripts/upgrade

@ -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…
Cancel
Save