mirror of
https://github.com/YunoHost-Apps/haste_ynh.git
synced 2024-09-03 20:36:28 +02:00
Fix
This commit is contained in:
parent
b20202e14e
commit
0ab0b298de
2 changed files with 2 additions and 5 deletions
|
@ -18,7 +18,7 @@
|
||||||
"email": "maxime.bugeia@gmail.com"
|
"email": "maxime.bugeia@gmail.com"
|
||||||
}],
|
}],
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.1.7"
|
"yunohost": ">= 4.2.4"
|
||||||
},
|
},
|
||||||
"multi_instance": false,
|
"multi_instance": false,
|
||||||
"services": [
|
"services": [
|
||||||
|
|
|
@ -84,7 +84,7 @@ then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=7
|
ynh_script_progression --message="Upgrading source files..." --weight=7
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# 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" --keep="$final_path/config.js"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -142,9 +142,6 @@ ynh_add_systemd_config
|
||||||
# UPGRADE HASTE CONFIGURATION
|
# UPGRADE HASTE CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Define app's data directory
|
|
||||||
ynh_add_config --template="../conf/config.js" --destination="$final_path/config.js"
|
|
||||||
|
|
||||||
# Replace ajax.googleapis by local file
|
# Replace ajax.googleapis by local file
|
||||||
cp ../sources/jquery.min.js "$final_path/static/jquery.min.js"
|
cp ../sources/jquery.min.js "$final_path/static/jquery.min.js"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue