1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tracim_ynh.git synced 2024-10-01 13:34:52 +02:00

Merge pull request #20 from YunoHost-Apps/testing

Update _common.sh
This commit is contained in:
eric_G 2024-02-10 15:20:31 +01:00 committed by GitHub
commit 1ae9248d99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 10 additions and 17 deletions

View file

@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Tracim is a collaborative platform software intended for (not only technical) team collaboration. It is simple to use, offers a user-friendly interface and runs on every computer. It is very valuable for R&D teams, assocations, remote collaboration. Tracim is a collaborative platform software intended for (not only technical) team collaboration. It is simple to use, offers a user-friendly interface and runs on every computer. It is very valuable for R&D teams, assocations, remote collaboration.
**Shipped version:** 4.6.1~ynh1 **Shipped version:** 4.6.1~ynh2
**Demo:** https://www.algoo.fr/fr/tracim/demo **Demo:** https://www.algoo.fr/fr/tracim/demo

View file

@ -19,7 +19,7 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
Tracim est un logiciel de plateforme collaborative destiné à la collaboration (pas seulement technique) en équipe. Il est simple à utiliser, offre une interface conviviale et fonctionne sur tous les ordinateurs. Cest très précieux pour les équipes R&D, les associations, la collaboration à distance. Tracim est un logiciel de plateforme collaborative destiné à la collaboration (pas seulement technique) en équipe. Il est simple à utiliser, offre une interface conviviale et fonctionne sur tous les ordinateurs. Cest très précieux pour les équipes R&D, les associations, la collaboration à distance.
**Version incluse :** 4.6.1~ynh1 **Version incluse :** 4.6.1~ynh2
**Démo :** https://www.algoo.fr/fr/tracim/demo **Démo :** https://www.algoo.fr/fr/tracim/demo

View file

@ -5,7 +5,7 @@ name = "Tracim"
description.en = "Collaborative platform intended for team collaboration" description.en = "Collaborative platform intended for team collaboration"
description.fr = "Plateforme collaborative destiné à la collaboration en équipe" description.fr = "Plateforme collaborative destiné à la collaboration en équipe"
version = "4.6.1~ynh1" version = "4.6.1~ynh2"
maintainers = [] maintainers = []
@ -20,8 +20,11 @@ code = "https://github.com/tracim/tracim"
yunohost = ">= 11.2" yunohost = ">= 11.2"
architectures = ["amd64"] architectures = ["amd64"]
multi_instance = true multi_instance = true
ldap = false ldap = false
sso = false sso = false
disk = "50M" disk = "50M"
ram.build = "1500M" ram.build = "1500M"
ram.runtime = "50M" ram.runtime = "50M"

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES # COMMON VARIABLES
#================================================= #=================================================
nodejs_version=14 nodejs_version=16
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS

View file

@ -9,23 +9,13 @@
source _common.sh source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#=================================================
# CHECK VERSION
#=================================================
upgrade_type=$(ynh_check_app_version_changed)
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================
ynh_script_progression --message="Upgrading source files..."
if [ "$upgrade_type" == "UPGRADE_APP" ] # Download, check integrity, uncompress and patch the source from app.src
then ynh_setup_source --dest_dir="$install_dir" --keep="backend/development.ini frontend/configEnv.json"
ynh_script_progression --message="Upgrading source files..."
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --keep="backend/development.ini frontend/configEnv.json"
fi
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"