1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/chitchatter_ynh.git synced 2024-09-03 18:15:59 +02:00

Merge pull request #18 from dhuschde/master

fix #16
This commit is contained in:
eric_G 2024-06-16 10:11:22 +02:00 committed by GitHub
commit bfd2dd2849
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 10 deletions

View file

@ -27,7 +27,7 @@ Chitchatter est un outil de communication gratuit (comme dans le prix et la libe
- Éphémère
- Décentralisé
**Version incluse:** 1.0~ynh11
**Version incluse :** 1.0~ynh11
**Démo:** <https://chitchatter.im/>
@ -54,4 +54,4 @@ ou
sudo yunohost app upgrade chitchatter -u https://github.com/YunoHost-Apps/chitchatter_ynh/tree/testing --debug
```
**Plus dinfos sur le packaging dapplications:** <https://yunohost.org/packaging_apps>
**Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps>

View file

@ -7,8 +7,8 @@
#=================================================
# nodejs version
nodejs_version=20
version_commit=fcf9fcea52d1e09d689ed6998d729aa8d08be604
nodejs_version=18
version_commit=94a4b2fb2e2ffad7b2fb04a78257a6dac4e7095a
#=================================================
# PERSONAL HELPERS

View file

@ -33,9 +33,6 @@ pushd "$install_dir"
git reset --hard --quiet $version_commit
popd
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#=================================================
# NGINX CONFIGURATION
#=================================================
@ -56,6 +53,9 @@ pushd $install_dir
ynh_exec_warn_less $ynh_npm run build
popd
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#=================================================
# END OF SCRIPT
#=================================================

View file

@ -23,9 +23,6 @@ pushd $install_dir
ynh_exec_as $app git pull
popd
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#=================================================
# UPGRADE DEPENDENCIES
#=================================================
@ -53,6 +50,9 @@ pushd $install_dir
ynh_exec_warn_less $ynh_npm run build
popd
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#=================================================
# END OF SCRIPT
#=================================================