diff --git a/scripts/upgrade b/scripts/upgrade index aef000a..48046aa 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -84,7 +84,7 @@ fi ynh_script_progression --message="Upgrading source files..." # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" +ynh_setup_source --dest_dir="$final_path" #================================================= @@ -95,7 +95,7 @@ ynh_script_progression --message="Upgrading source files..." ynh_script_progression --message="Upgrading source files..." # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" +ynh_setup_source --dest_dir="$final_path" cp -a "$tmpdir/cache" "${final_path}" cp -a "$tmpdir/store" "${final_path}" @@ -159,7 +159,7 @@ ynh_print_info "Setting up cron job..." ynh_replace_string --match_string="YNH_WWW_PATH" --replace_string="$final_path" --target_file="../conf/poller-cron" ynh_replace_string --match_string="__USER__" --replace_string="$app" --target_file="../conf/poller-cron" ynh_replace_string --match_string="__PHP_VERSION__" --replace_string="$phpversion" --target_file="../conf/poller-cron" -sudo cp -f ../conf/poller-cron /etc/cron.d/$app +cp -f ../conf/poller-cron /etc/cron.d/$app #================================================= # UPGRADE DEPENDENCIES