1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00
* change autoupdate.strategy from "latest_github_tag" to "latest_github_release"

* [autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1

* bump minimal required ynh version

* bump package version

* backup & restore logs (#179)

* cleaning

* Auto-update READMEs

* Upgrade to v1.24.0 (#181)

* Upgrade to v1.24.0
https://github.com/FreshRSS/FreshRSS/releases/tag/1.24.0

* Auto-update READMEs

* Update upgrade (#184)

* Update manifest.toml

* Auto-update READMEs

---------

Co-authored-by: OniriCorpe <oniricorpe@disroot.org>
Co-authored-by: Yunohost-Bot <>
Co-authored-by: OniriCorpe <oniricorpe@yunohost.org>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com>
This commit is contained in:
eric_G 2024-06-09 22:14:14 +02:00 committed by GitHub
parent 77c51f2f1b
commit 4a44a04efd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 12 additions and 22 deletions

View file

@ -19,7 +19,7 @@ It shall NOT be edited by hand.
An efficient but powerful RSS aggregator with a nice and mobile-friendly design, as well as extension and themes support.
**Shipped version:** 1.24.0~ynh1
**Shipped version:** 1.24.1~ynh1
**Demo:** <https://demo.freshrss.org>

View file

@ -19,7 +19,7 @@ No se debe editar a mano.
An efficient but powerful RSS aggregator with a nice and mobile-friendly design, as well as extension and themes support.
**Versión actual:** 1.24.0~ynh1
**Versión actual:** 1.24.1~ynh1
**Demo:** <https://demo.freshrss.org>

View file

@ -19,7 +19,7 @@ EZ editatu eskuz.
An efficient but powerful RSS aggregator with a nice and mobile-friendly design, as well as extension and themes support.
**Paketatutako bertsioa:** 1.24.0~ynh1
**Paketatutako bertsioa:** 1.24.1~ynh1
**Demoa:** <https://demo.freshrss.org>

View file

@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main.
Agrégateur de flux RSS avec une interface adaptée au mobile.
**Version incluse:** 1.24.0~ynh1
**Version incluse:** 1.24.1~ynh1
**Démo:** <https://demo.freshrss.org>

View file

@ -19,7 +19,7 @@ NON debe editarse manualmente.
An efficient but powerful RSS aggregator with a nice and mobile-friendly design, as well as extension and themes support.
**Versión proporcionada:** 1.24.0~ynh1
**Versión proporcionada:** 1.24.1~ynh1
**Demo:** <https://demo.freshrss.org>

View file

@ -19,7 +19,7 @@
An efficient but powerful RSS aggregator with a nice and mobile-friendly design, as well as extension and themes support.
**分发版本:** 1.24.0~ynh1
**分发版本:** 1.24.1~ynh1
**演示:** <https://demo.freshrss.org>

View file

@ -5,7 +5,7 @@ name = "FreshRSS"
description.en = "RSS aggregator with a nice and mobile-friendly design"
description.fr = "Agrégateur de flux RSS avec une interface adaptée au mobile"
version = "1.24.0~ynh1"
version = "1.24.1~ynh1"
maintainers = ["plopoyop"]
@ -56,8 +56,8 @@ ram.runtime = "50M"
[resources.sources]
[resources.sources.main]
url = "https://github.com/FreshRSS/FreshRSS/archive/refs/tags/1.24.0.tar.gz"
sha256 = "114d92696070077a506c535bf549ed9e7b0ef2250a74a1b95ae0c6df38c774f5"
url = "https://github.com/FreshRSS/FreshRSS/archive/refs/tags/1.24.1.tar.gz"
sha256 = "a89b8324204f99746225ee73878af8697814d83d250e0f0957dad8053baee088"
autoupdate.strategy = "latest_github_release"
[resources.system_user]

View file

@ -9,12 +9,6 @@
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# CHECK VERSION
#=================================================
upgrade_type=$(ynh_check_app_version_changed)
#=================================================
# STANDARD UPGRADE STEPS
#=================================================
@ -34,14 +28,10 @@ fi
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
ynh_script_progression --message="Upgrading source files..." --weight=1
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="data/config.php data/users/ extensions/"
fi
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --keep="data/config.php data/users/ extensions/" #--full_replace=1
chmod -R o-rwx "$install_dir"
chown -R "$app":www-data "$install_dir"