1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/haste_ynh.git synced 2024-09-03 20:36:28 +02:00
This commit is contained in:
ericgaspar 2021-05-12 08:55:36 +02:00
parent b20202e14e
commit 0ab0b298de
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 2 additions and 5 deletions

View file

@ -18,7 +18,7 @@
"email": "maxime.bugeia@gmail.com"
}],
"requirements": {
"yunohost": ">= 4.1.7"
"yunohost": ">= 4.2.4"
},
"multi_instance": false,
"services": [

View file

@ -84,7 +84,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=7
# 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
#=================================================
@ -142,9 +142,6 @@ ynh_add_systemd_config
# 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
cp ../sources/jquery.min.js "$final_path/static/jquery.min.js"