mirror of
https://github.com/YunoHost-Apps/lychee_ynh.git
synced 2024-09-03 19:36:36 +02:00
Testing (#111)
* 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:
parent
3421405ca6
commit
47dd3d32f0
7 changed files with 13 additions and 23 deletions
|
@ -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.
|
||||
|
||||
|
||||
**Shipped version:** 5.2.1~ynh1
|
||||
**Shipped version:** 5.3.0~ynh1
|
||||
|
||||
**Demo:** <https://lycheeorg.github.io/demo/>
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
||||
**Paketatutako bertsioa:** 5.2.1~ynh1
|
||||
**Paketatutako bertsioa:** 5.3.0~ynh1
|
||||
|
||||
**Demoa:** <https://lycheeorg.github.io/demo/>
|
||||
|
||||
|
|
|
@ -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é.
|
||||
|
||||
|
||||
**Version incluse :** 5.2.1~ynh1
|
||||
**Version incluse :** 5.3.0~ynh1
|
||||
|
||||
**Démo :** <https://lycheeorg.github.io/demo/>
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
||||
**Versión proporcionada:** 5.2.1~ynh1
|
||||
**Versión proporcionada:** 5.3.0~ynh1
|
||||
|
||||
**Demo:** <https://lycheeorg.github.io/demo/>
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
||||
**分发版本:** 5.2.1~ynh1
|
||||
**分发版本:** 5.3.0~ynh1
|
||||
|
||||
**演示:** <https://lycheeorg.github.io/demo/>
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@ name = "Lychee"
|
|||
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"
|
||||
|
||||
version = "5.2.1~ynh1"
|
||||
version = "5.3.0~ynh1"
|
||||
|
||||
maintainers = [""]
|
||||
maintainers = []
|
||||
|
||||
[upstream]
|
||||
license = "MIT"
|
||||
|
@ -46,8 +46,8 @@ ram.runtime = "50M"
|
|||
[resources.sources]
|
||||
|
||||
[resources.sources.main]
|
||||
url = "https://github.com/LycheeOrg/Lychee/archive/refs/tags/v5.2.1.tar.gz"
|
||||
sha256 = "1f2773aef9bcdf38662a8cd0baa9027601ae5c7f31f78426e8dcc1e042950b6e"
|
||||
url = "https://github.com/LycheeOrg/Lychee/archive/refs/tags/v5.3.0.tar.gz"
|
||||
sha256 = "eb0e519d29f3ed895d6e7f447fb3d2a2acd4b0ab81c67f3271d6ea610d1c590b"
|
||||
autoupdate.strategy = "latest_github_tag"
|
||||
|
||||
[resources.system_user]
|
||||
|
|
|
@ -11,23 +11,13 @@ source /usr/share/yunohost/helpers
|
|||
|
||||
timezone="$(cat /etc/timezone)"
|
||||
|
||||
#=================================================
|
||||
# CHECK VERSION
|
||||
#=================================================
|
||||
|
||||
upgrade_type=$(ynh_check_app_version_changed)
|
||||
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading source files..." --weight=4
|
||||
|
||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
ynh_script_progression --message="Upgrading source files..." --weight=4
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep=".env"
|
||||
fi
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep=".env"
|
||||
|
||||
chmod 750 "$install_dir/bootstrap/cache"
|
||||
chmod -R o-rwx "$install_dir"
|
||||
|
|
Loading…
Reference in a new issue