mirror of
https://github.com/YunoHost-Apps/kiwix_ynh.git
synced 2024-09-03 19:35:56 +02:00
commit
ea4748700c
5 changed files with 13 additions and 22 deletions
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/readme_generator
|
||||
It shall NOT be edited by hand.
|
||||
-->
|
||||
|
||||
|
@ -28,7 +28,7 @@ Kiwix is an offline reader for online content like Wikipedia, Project Gutenberg,
|
|||
- Able to deal with one ZIM file or XML library files
|
||||
|
||||
|
||||
**Shipped version:** 3.5.0~ynh4
|
||||
**Shipped version:** 3.6.0~ynh1
|
||||
|
||||
**Demo:** http://library.kiwix.org/
|
||||
|
||||
|
@ -56,4 +56,4 @@ or
|
|||
sudo yunohost app upgrade kiwix -u https://github.com/YunoHost-Apps/kiwix_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
|
||||
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/readme_generator
|
||||
It shall NOT be edited by hand.
|
||||
-->
|
||||
|
||||
|
@ -26,7 +26,7 @@ Kiwix est un lecteur hors-ligne pour contenus web qui permet en particulier d’
|
|||
- Embedded in Kiwix UI
|
||||
- Capable de traiter un fichier ZIM ou des fichiers de bibliothèque XML
|
||||
|
||||
**Version incluse :** 3.5.0~ynh4
|
||||
**Version incluse :** 3.6.0~ynh1
|
||||
|
||||
**Démo :** http://library.kiwix.org/
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@ name = "Kiwix"
|
|||
description.en = "Sharing Web content with people without Internet access"
|
||||
description.fr = "Partager du contenu Web avec des personnes sans accès à Internet"
|
||||
|
||||
version = "3.5.0~ynh4"
|
||||
version = "3.6.0~ynh1"
|
||||
|
||||
maintainers = ["eric_G"]
|
||||
maintainers = []
|
||||
|
||||
[upstream]
|
||||
license = "GPL-3.0-or-later"
|
||||
|
@ -36,12 +36,12 @@ ram.runtime = "50M"
|
|||
|
||||
[resources]
|
||||
[resources.sources.main]
|
||||
amd64.url = "https://download.kiwix.org/release/kiwix-tools/kiwix-tools_linux-x86_64-3.5.0.tar.gz"
|
||||
amd64.sha256 = "110d4b00b0c6aa3fa6982c3f3cc5d4143af90caa935b1e23e0ecd80680f269e8"
|
||||
armhf.url = "https://download.kiwix.org/release/kiwix-tools/kiwix-tools_linux-armhf-3.5.0.tar.gz"
|
||||
armhf.sha256 = "41242099546401250268fee9bf48c43c2217b0a1d14efb1b90ae15bafcf05bcc"
|
||||
arm64.url = "https://download.kiwix.org/release/kiwix-tools/kiwix-tools_linux-aarch64-3.5.0.tar.gz"
|
||||
arm64.sha256 = "2a5c88bba79ff8b253138bbd960c40c0588a13a9e52b6a41cd979c0940f7d72c"
|
||||
amd64.url = "https://download.kiwix.org/release/kiwix-tools/kiwix-tools_linux-x86_64-3.6.0.tar.gz"
|
||||
amd64.sha256 = "dd58996b99f69f8eb3bc80ca4a58b1ef32cf16a1a9d7c50d3a4957220cf1f0c0"
|
||||
armhf.url = "https://download.kiwix.org/release/kiwix-tools/kiwix-tools_linux-armv6-3.6.0.tar.gz"
|
||||
armhf.sha256 = "50c9b4da1f14eec96becbe6b2c8fbd428e2faf6d5008b4a2470859610e63b7bf"
|
||||
arm64.url = "https://download.kiwix.org/release/kiwix-tools/kiwix-tools_linux-aarch64-3.6.0.tar.gz"
|
||||
arm64.sha256 = "f47533b1746469fae129132462814f7c425a2b47dc2db4b17c5803ae99362a2f"
|
||||
|
||||
[resources.ports]
|
||||
|
||||
|
|
|
@ -17,8 +17,6 @@ ynh_script_progression --message="Setting up source files..." --weight=3
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir"
|
||||
|
||||
chmod 750 "$install_dir"
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
chmod +x $install_dir/{kiwix-manage,kiwix-serve,kiwix-search}
|
||||
|
||||
|
|
|
@ -47,13 +47,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=3
|
|||
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
# RELOAD NGINX AND PHP-FPM
|
||||
#=================================================
|
||||
ynh_script_progression --message="Reloading NGINX web server..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name=nginx --action=reload
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue