1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lychee_ynh.git synced 2024-09-03 19:36:36 +02:00
* Upgrade to v5.1.2 (#102)

* Upgrade to v5.1.2

* Auto-update README

* Update install

* Update manifest.toml

* Auto-update README

* trying to fix upgrade (#105)

* trying to fix upgrade

* forgotten =1

* Update tests.toml

---------

Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>

* cleaning (#104)

* cleaning

* Update upgrade

* break lines

* SC2154 fixes

* Auto-update README

* fix paths

* typo

---------

Co-authored-by: OniriCorpe <oniricorpe@disroot.org>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>

* remove maintenance

* Auto-update READMEs

* Upgrade to v5.2.1 (#108)

* Upgrade to v5.2.1

* Auto-update READMEs

---------

Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com>

* remove the empty string inside 'maintainers'

* Upgrade to v5.3.0 (#110)

* Upgrade to v5.3.0

* Auto-update READMEs

* Auto-update READMEs

* Update upgrade

---------

Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: OniriCorpe <oniricorpe@disroot.org>
Co-authored-by: OniriCorpe <oniricorpe@yunohost.org>
This commit is contained in:
eric_G 2024-05-08 21:15:20 +02:00 committed by GitHub
parent 3421405ca6
commit 47dd3d32f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 13 additions and 23 deletions

View file

@ -21,7 +21,7 @@ Upload, manage and share photos like from a native application.
Lychee comes with everything you need and all your photos are stored securely. Lychee comes with everything you need and all your photos are stored securely.
**Shipped version:** 5.2.1~ynh1 **Shipped version:** 5.3.0~ynh1
**Demo:** <https://lycheeorg.github.io/demo/> **Demo:** <https://lycheeorg.github.io/demo/>

View file

@ -21,7 +21,7 @@ Upload, manage and share photos like from a native application.
Lychee comes with everything you need and all your photos are stored securely. Lychee comes with everything you need and all your photos are stored securely.
**Paketatutako bertsioa:** 5.2.1~ynh1 **Paketatutako bertsioa:** 5.3.0~ynh1
**Demoa:** <https://lycheeorg.github.io/demo/> **Demoa:** <https://lycheeorg.github.io/demo/>

View file

@ -21,7 +21,7 @@ Téléchargez, gérez et partagez des photos comme à partir d'une application n
Lychee est livré avec tout ce dont vous avez besoin et toutes vos photos sont stockées en toute sécurité. Lychee est livré avec tout ce dont vous avez besoin et toutes vos photos sont stockées en toute sécurité.
**Version incluse:** 5.2.1~ynh1 **Version incluse:** 5.3.0~ynh1
**Démo:** <https://lycheeorg.github.io/demo/> **Démo:** <https://lycheeorg.github.io/demo/>

View file

@ -21,7 +21,7 @@ Upload, manage and share photos like from a native application.
Lychee comes with everything you need and all your photos are stored securely. Lychee comes with everything you need and all your photos are stored securely.
**Versión proporcionada:** 5.2.1~ynh1 **Versión proporcionada:** 5.3.0~ynh1
**Demo:** <https://lycheeorg.github.io/demo/> **Demo:** <https://lycheeorg.github.io/demo/>

View file

@ -3,7 +3,7 @@
请勿手动编辑。 请勿手动编辑。
--> -->
# YunoHost 的 Lychee # YunoHost 的 Lychee
[![集成程度](https://dash.yunohost.org/integration/lychee.svg)](https://dash.yunohost.org/appci/app/lychee) ![工作状态](https://ci-apps.yunohost.org/ci/badges/lychee.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/lychee.maintain.svg) [![集成程度](https://dash.yunohost.org/integration/lychee.svg)](https://dash.yunohost.org/appci/app/lychee) ![工作状态](https://ci-apps.yunohost.org/ci/badges/lychee.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/lychee.maintain.svg)
@ -21,7 +21,7 @@ Upload, manage and share photos like from a native application.
Lychee comes with everything you need and all your photos are stored securely. Lychee comes with everything you need and all your photos are stored securely.
**分发版本:** 5.2.1~ynh1 **分发版本:** 5.3.0~ynh1
**演示:** <https://lycheeorg.github.io/demo/> **演示:** <https://lycheeorg.github.io/demo/>

View file

@ -5,9 +5,9 @@ name = "Lychee"
description.en = "Photo-management-system to manage and share photos" description.en = "Photo-management-system to manage and share photos"
description.fr = "Système de gestion de photos pour gérer et partager des photos" description.fr = "Système de gestion de photos pour gérer et partager des photos"
version = "5.2.1~ynh1" version = "5.3.0~ynh1"
maintainers = [""] maintainers = []
[upstream] [upstream]
license = "MIT" license = "MIT"
@ -46,8 +46,8 @@ ram.runtime = "50M"
[resources.sources] [resources.sources]
[resources.sources.main] [resources.sources.main]
url = "https://github.com/LycheeOrg/Lychee/archive/refs/tags/v5.2.1.tar.gz" url = "https://github.com/LycheeOrg/Lychee/archive/refs/tags/v5.3.0.tar.gz"
sha256 = "1f2773aef9bcdf38662a8cd0baa9027601ae5c7f31f78426e8dcc1e042950b6e" sha256 = "eb0e519d29f3ed895d6e7f447fb3d2a2acd4b0ab81c67f3271d6ea610d1c590b"
autoupdate.strategy = "latest_github_tag" autoupdate.strategy = "latest_github_tag"
[resources.system_user] [resources.system_user]

View file

@ -11,23 +11,13 @@ source /usr/share/yunohost/helpers
timezone="$(cat /etc/timezone)" timezone="$(cat /etc/timezone)"
#=================================================
# CHECK VERSION
#=================================================
upgrade_type=$(ynh_check_app_version_changed)
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..." --weight=4 ynh_script_progression --message="Upgrading source files..." --weight=4
# 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="$install_dir" --full_replace=1 --keep=".env" ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep=".env"
fi
chmod 750 "$install_dir/bootstrap/cache" chmod 750 "$install_dir/bootstrap/cache"
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"