1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hubzilla_ynh.git synced 2024-09-03 19:26:21 +02:00

rm -r -> ynh_secure_temove

This commit is contained in:
Alexandre Aubin 2020-11-09 15:56:33 +01:00 committed by GitHub
parent faf02d2cbe
commit 01cdea29e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,7 @@ ynh_script_progression --message="Upgrading source files..."
cp -a "$tmpdir/store" "${final_path}"
cp -a "$tmpdir/.htconfig.php" "${final_path}"
cp -a "$tmpdir/php.log" "${final_path}"
rm -Rf "$tmpdir"
ynh_secure_remove "$tmpdir"
chmod -R 777 $final_path/store
mkdir $final_path/addon
ynh_setup_source --dest_dir="$final_path/addon" --source_id="app_addons"