mirror of
https://github.com/YunoHost-Apps/ttrss_ynh.git
synced 2024-10-01 13:34:46 +02:00
Merge remote-tracking branch 'origin/testing' into PostgreSQL
This commit is contained in:
commit
889d66b220
5 changed files with 10 additions and 9 deletions
|
@ -28,7 +28,8 @@ Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader an
|
||||||
- flexible article filtering
|
- flexible article filtering
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 20220626~ynh1
|
**Shipped version:** 20220913~ynh1
|
||||||
|
|
||||||
|
|
||||||
**Demo:** https://srv.tt-rss.org/tt-rss/
|
**Demo:** https://srv.tt-rss.org/tt-rss/
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,8 @@ Tiny Tiny RSS est un lecteur et agrégateur de flux de nouvelles (RSS/Atom) bas
|
||||||
- filtrage flexible des articles
|
- filtrage flexible des articles
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 20220626~ynh1
|
**Version incluse :** 20220913~ynh1
|
||||||
|
|
||||||
|
|
||||||
**Démo :** https://srv.tt-rss.org/tt-rss/
|
**Démo :** https://srv.tt-rss.org/tt-rss/
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://git-gitea.tt-rss.org/fox/tt-rss/archive/d9ae4204ce15f5abb47c1352ce3e1611b90010d1.tar.gz
|
SOURCE_URL=https://git-gitea.tt-rss.org/fox/tt-rss/archive/d47b8c8494ed41c8a72c21b238dde74e606c5f0e.tar.gz
|
||||||
SOURCE_SUM=7ce06591cd035ed76d9127bc5fa3908984d230cbed4e28e9cb3fe6bec466c5de
|
SOURCE_SUM=d064253636c48d6116a55fab379b3ec575fb0b095a621eb1b78fe7a598ab0f63
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "News feed (RSS/Atom) reader and aggregator",
|
"en": "News feed (RSS/Atom) reader and aggregator",
|
||||||
"fr": "Lecteur de flux d’actualité utilisant les protocoles RSS et Atom"
|
"fr": "Lecteur de flux d’actualité utilisant les protocoles RSS et Atom"
|
||||||
},
|
},
|
||||||
"version": "20220626~ynh1",
|
"version": "20220913~ynh1",
|
||||||
"url": "http://tt-rss.org",
|
"url": "http://tt-rss.org",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "GPL-3.0-only",
|
"license": "GPL-3.0-only",
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
"email": ""
|
"email": ""
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.3.0"
|
"yunohost": ">= 11.0.9"
|
||||||
},
|
},
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
|
|
|
@ -27,7 +27,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||||
#=================================================
|
#=================================================
|
||||||
# CHECK VERSION
|
# CHECK VERSION
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Checking version..."
|
|
||||||
|
|
||||||
upgrade_type=$(ynh_check_app_version_changed)
|
upgrade_type=$(ynh_check_app_version_changed)
|
||||||
|
|
||||||
|
@ -53,7 +52,7 @@ ynh_abort_if_errors
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Stopping a systemd service..."
|
ynh_script_progression --message="Stopping a systemd service..."
|
||||||
|
|
||||||
ynh_systemd_action --service_name=$app --action="stop"
|
ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# ENSURE DOWNWARD COMPATIBILITY
|
# ENSURE DOWNWARD COMPATIBILITY
|
||||||
|
@ -154,7 +153,7 @@ then
|
||||||
domain_path=https://$domain$path_url
|
domain_path=https://$domain$path_url
|
||||||
ynh_add_config --template="../conf/config.php" --destination="$final_path/config.php"
|
ynh_add_config --template="../conf/config.php" --destination="$final_path/config.php"
|
||||||
|
|
||||||
ynh_script_progression --message="Upgrading ttrss database..." --weight=2
|
ynh_script_progression --message="Upgrading the database..." --weight=2
|
||||||
ynh_exec_as $app php${phpversion} ${final_path}/update.php --update-schema=force-yes
|
ynh_exec_as $app php${phpversion} ${final_path}/update.php --update-schema=force-yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue