1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/haste_ynh.git synced 2024-09-03 20:36:28 +02:00

Update install

This commit is contained in:
ericgaspar 2020-07-29 09:28:25 +02:00
parent 4bdac1101c
commit 5c50fe172d

View file

@ -139,7 +139,7 @@ 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/index.html"
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"
#=================================================
# ADD HASTE AS A BINARY FILE