mirror of
https://github.com/YunoHost-Apps/strut_ynh.git
synced 2024-09-03 20:26:33 +02:00
Remove duplicated code
This commit is contained in:
parent
65999ea82e
commit
20b94648f2
1 changed files with 0 additions and 4 deletions
|
@ -90,10 +90,6 @@ then
|
||||||
# Dist is the compiled version. Other directories are source code and tools to build the program
|
# Dist is the compiled version. Other directories are source code and tools to build the program
|
||||||
cp -a "$tmp_dir/dist/." "$final_path/"
|
cp -a "$tmp_dir/dist/." "$final_path/"
|
||||||
ynh_secure_remove --file="$tmp_dir"
|
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
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue