mirror of
https://github.com/YunoHost-Apps/haste_ynh.git
synced 2024-09-03 20:36:28 +02:00
fix jquery link
This commit is contained in:
parent
5c50fe172d
commit
4c9215793d
1 changed files with 2 additions and 1 deletions
|
@ -160,7 +160,8 @@ ynh_store_file_checksum "$final_path/config.js"
|
|||
|
||||
# Replace ajax.googleapis by local file
|
||||
cp ../sources/jquery.min.js "$final_path/static/jquery.min.js"
|
||||
ynh_replace_string --match_string="jquery.min.js" --replace_string="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" --target_file="$final_path/static/jquery.min.js"
|
||||
|
||||
ynh_replace_string --match_string="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" --replace_string="jquery.min.js" --target_file="$final_path/static/index.html"
|
||||
|
||||
#=================================================
|
||||
# UPGRADE HASTE BINARY
|
||||
|
|
Loading…
Add table
Reference in a new issue