From 20b94648f275883c4752106f5097fa4f97b7a492 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Mon, 24 Jun 2019 21:11:53 +0200 Subject: [PATCH] Remove duplicated code --- scripts/upgrade | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 7bcfcab..27f6196 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -90,10 +90,6 @@ then # Dist is the compiled version. Other directories are source code and tools to build the program cp -a "$tmp_dir/dist/." "$final_path/" ynh_secure_remove --file="$tmp_dir" - - # Imgur is deactivated on the specific upstream selected, but this text is still here - # Don't use a patch because it's minified js - ynh_replace_string --match_string="are currently uploaded to imgur.*re working on changing this" --replace_string="size is limited" --target_file="$final_path/scripts/amd-app.js" fi #=================================================