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

Merge pull request #24 from YunoHost-Apps/testing

Keep data directory upon upgrade, keep logs upon removal
This commit is contained in:
Salamandar 2024-06-24 10:46:54 +02:00 committed by GitHub
commit 26485cafdc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 8 additions and 11 deletions

View file

@ -19,7 +19,7 @@ It shall NOT be edited by hand.
Cowyo is a self-contained wiki server that makes jotting notes easy and fast. The most important feature here is simplicity. Other features include versioning, page locking, self-destructing messages, encryption, and listifying. Cowyo is a self-contained wiki server that makes jotting notes easy and fast. The most important feature here is simplicity. Other features include versioning, page locking, self-destructing messages, encryption, and listifying.
**Shipped version:** 2.12.0~ynh3 **Shipped version:** 2.12.0~ynh4
**Demo:** <https://cowyo.com> **Demo:** <https://cowyo.com>
## Documentation and resources ## Documentation and resources

View file

@ -19,7 +19,7 @@ No se debe editar a mano.
Cowyo is a self-contained wiki server that makes jotting notes easy and fast. The most important feature here is simplicity. Other features include versioning, page locking, self-destructing messages, encryption, and listifying. Cowyo is a self-contained wiki server that makes jotting notes easy and fast. The most important feature here is simplicity. Other features include versioning, page locking, self-destructing messages, encryption, and listifying.
**Versión actual:** 2.12.0~ynh3 **Versión actual:** 2.12.0~ynh4
**Demo:** <https://cowyo.com> **Demo:** <https://cowyo.com>
## Documentaciones y recursos ## Documentaciones y recursos

View file

@ -19,7 +19,7 @@ EZ editatu eskuz.
Cowyo is a self-contained wiki server that makes jotting notes easy and fast. The most important feature here is simplicity. Other features include versioning, page locking, self-destructing messages, encryption, and listifying. Cowyo is a self-contained wiki server that makes jotting notes easy and fast. The most important feature here is simplicity. Other features include versioning, page locking, self-destructing messages, encryption, and listifying.
**Paketatutako bertsioa:** 2.12.0~ynh3 **Paketatutako bertsioa:** 2.12.0~ynh4
**Demoa:** <https://cowyo.com> **Demoa:** <https://cowyo.com>
## Dokumentazioa eta baliabideak ## Dokumentazioa eta baliabideak

View file

@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main.
Cowyo est un serveur wiki autonome qui permet de prendre des notes facilement et rapidement. La caractéristique la plus importante ici est la simplicité. Les autres fonctionnalités incluent la gestion des versions, le verrouillage des pages, l'autodestruction des messages, le cryptage et la liste. Cowyo est un serveur wiki autonome qui permet de prendre des notes facilement et rapidement. La caractéristique la plus importante ici est la simplicité. Les autres fonctionnalités incluent la gestion des versions, le verrouillage des pages, l'autodestruction des messages, le cryptage et la liste.
**Version incluse:** 2.12.0~ynh3 **Version incluse:** 2.12.0~ynh4
**Démo:** <https://cowyo.com> **Démo:** <https://cowyo.com>
## Documentations et ressources ## Documentations et ressources

View file

@ -19,7 +19,7 @@ NON debe editarse manualmente.
Cowyo is a self-contained wiki server that makes jotting notes easy and fast. The most important feature here is simplicity. Other features include versioning, page locking, self-destructing messages, encryption, and listifying. Cowyo is a self-contained wiki server that makes jotting notes easy and fast. The most important feature here is simplicity. Other features include versioning, page locking, self-destructing messages, encryption, and listifying.
**Versión proporcionada:** 2.12.0~ynh3 **Versión proporcionada:** 2.12.0~ynh4
**Demo:** <https://cowyo.com> **Demo:** <https://cowyo.com>
## Documentación e recursos ## Documentación e recursos

View file

@ -19,7 +19,7 @@
Cowyo is a self-contained wiki server that makes jotting notes easy and fast. The most important feature here is simplicity. Other features include versioning, page locking, self-destructing messages, encryption, and listifying. Cowyo is a self-contained wiki server that makes jotting notes easy and fast. The most important feature here is simplicity. Other features include versioning, page locking, self-destructing messages, encryption, and listifying.
**分发版本:** 2.12.0~ynh3 **分发版本:** 2.12.0~ynh4
**演示:** <https://cowyo.com> **演示:** <https://cowyo.com>
## 文档与资源 ## 文档与资源

View file

@ -7,7 +7,7 @@ name = "Cowyo"
description.en = "Feature-rich wiki webserver for minimalists" description.en = "Feature-rich wiki webserver for minimalists"
description.fr = "Serveur de wiki minimaliste mais riche en fonctionnalités" description.fr = "Serveur de wiki minimaliste mais riche en fonctionnalités"
version = "2.12.0~ynh3" version = "2.12.0~ynh4"
maintainers = ["tituspijean"] maintainers = ["tituspijean"]

View file

@ -32,9 +32,6 @@ ynh_remove_logrotate
# Remove the dedicated NGINX config # Remove the dedicated NGINX config
ynh_remove_nginx_config ynh_remove_nginx_config
# Remove the log files
ynh_secure_remove --file="/var/log/$app"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT
#================================================= #=================================================

View file

@ -33,7 +33,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=3 ynh_script_progression --message="Upgrading source files..." --weight=3
# 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 ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="data"
fi fi
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"