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:
commit
26485cafdc
9 changed files with 8 additions and 11 deletions
|
@ -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.
|
||||
|
||||
|
||||
**Shipped version:** 2.12.0~ynh3
|
||||
**Shipped version:** 2.12.0~ynh4
|
||||
|
||||
**Demo:** <https://cowyo.com>
|
||||
## Documentation and resources
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
||||
**Versión actual:** 2.12.0~ynh3
|
||||
**Versión actual:** 2.12.0~ynh4
|
||||
|
||||
**Demo:** <https://cowyo.com>
|
||||
## Documentaciones y recursos
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
||||
**Paketatutako bertsioa:** 2.12.0~ynh3
|
||||
**Paketatutako bertsioa:** 2.12.0~ynh4
|
||||
|
||||
**Demoa:** <https://cowyo.com>
|
||||
## Dokumentazioa eta baliabideak
|
||||
|
|
|
@ -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.
|
||||
|
||||
**Version incluse :** 2.12.0~ynh3
|
||||
**Version incluse :** 2.12.0~ynh4
|
||||
|
||||
**Démo :** <https://cowyo.com>
|
||||
## Documentations et ressources
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
||||
**Versión proporcionada:** 2.12.0~ynh3
|
||||
**Versión proporcionada:** 2.12.0~ynh4
|
||||
|
||||
**Demo:** <https://cowyo.com>
|
||||
## Documentación e recursos
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
||||
**分发版本:** 2.12.0~ynh3
|
||||
**分发版本:** 2.12.0~ynh4
|
||||
|
||||
**演示:** <https://cowyo.com>
|
||||
## 文档与资源
|
||||
|
|
|
@ -7,7 +7,7 @@ name = "Cowyo"
|
|||
description.en = "Feature-rich wiki webserver for minimalists"
|
||||
description.fr = "Serveur de wiki minimaliste mais riche en fonctionnalités"
|
||||
|
||||
version = "2.12.0~ynh3"
|
||||
version = "2.12.0~ynh4"
|
||||
|
||||
maintainers = ["tituspijean"]
|
||||
|
||||
|
|
|
@ -32,9 +32,6 @@ ynh_remove_logrotate
|
|||
# Remove the dedicated NGINX config
|
||||
ynh_remove_nginx_config
|
||||
|
||||
# Remove the log files
|
||||
ynh_secure_remove --file="/var/log/$app"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
|
@ -33,7 +33,7 @@ then
|
|||
ynh_script_progression --message="Upgrading source files..." --weight=3
|
||||
|
||||
# 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
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
|
|
Loading…
Add table
Reference in a new issue