diff --git a/scripts/upgrade b/scripts/upgrade index 80d68b0..ef2991e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -46,7 +46,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." --weight=2 - mv -f "../sources/ifm.php" "$install_dir/ifm.php" + ynh_setup_source --dest_dir="$install_dir" fi chmod -R o-rwx "$install_dir"