mirror of
https://github.com/YunoHost-Apps/haste_ynh.git
synced 2024-09-03 20:36:28 +02:00
Small fixes
This commit is contained in:
parent
beb4acd9c9
commit
317d78ad2b
4 changed files with 19 additions and 4 deletions
|
@ -11,7 +11,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
## Overview
|
## Overview
|
||||||
Haste is an open-source pastebin software written in node.js, which is easily installable in any network. YunoHost Project uses Haste as pastebin for log sharing: [paste.yunohost.org](https://paste.yunohost.org/)
|
Haste is an open-source pastebin software written in node.js, which is easily installable in any network. YunoHost Project uses Haste as pastebin for log sharing: [paste.yunohost.org](https://paste.yunohost.org/)
|
||||||
|
|
||||||
**Shipped version:** 0.1.0
|
**Shipped version:** 0.1.0 (7.10.2020)
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ Haste is an open-source pastebin software written in node.js, which is easily in
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
How to configure this app: a plain file with SSH.
|
* How to configure this app: a plain file with SSH.
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install
|
||||||
## Vue d'ensemble
|
## Vue d'ensemble
|
||||||
Haste est un logiciel pastebin open-source écrit en node.js, facilement installable sur n'importe quel réseau. Le projet YunoHost utilise Haste comme pastebin pour le partage de log : [paste.yunohost.org](https://paste.yunohost.org/)
|
Haste est un logiciel pastebin open-source écrit en node.js, facilement installable sur n'importe quel réseau. Le projet YunoHost utilise Haste comme pastebin pour le partage de log : [paste.yunohost.org](https://paste.yunohost.org/)
|
||||||
|
|
||||||
**Version incluse :** 0.1.0
|
**Version incluse :** 0.1.0 (7.10.2020)
|
||||||
|
|
||||||
## Captures d'écran
|
## Captures d'écran
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ Haste est un logiciel pastebin open-source écrit en node.js, facilement install
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
Comment configurer cette application: un fichier brut en SSH.
|
* Comment configurer cette application: un fichier brut en SSH.
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,10 @@
|
||||||
"name": "eric_G",
|
"name": "eric_G",
|
||||||
"email": ""
|
"email": ""
|
||||||
},
|
},
|
||||||
|
"previous_maintainers": [{
|
||||||
|
"name": "mbugeia",
|
||||||
|
"email": "maxime.bugeia@gmail.com"
|
||||||
|
}],
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.0.0"
|
"yunohost": ">= 4.0.0"
|
||||||
},
|
},
|
||||||
|
@ -29,6 +33,10 @@
|
||||||
"en": "Choose a domain name for Haste",
|
"en": "Choose a domain name for Haste",
|
||||||
"fr": "Choisissez un nom de domaine pour Haste"
|
"fr": "Choisissez un nom de domaine pour Haste"
|
||||||
},
|
},
|
||||||
|
"help": {
|
||||||
|
"en": "Haste can only be installed in a root domain or subdomain",
|
||||||
|
"fr": "Haste ne peut être installé que dans un domaine racine ou un sous-domaine "
|
||||||
|
},
|
||||||
"example": "paste.example.com"
|
"example": "paste.example.com"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -47,6 +47,13 @@ if [ -z "$final_path" ]; then
|
||||||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Cleaning legacy permissions
|
||||||
|
if ynh_legacy_permissions_exists; then
|
||||||
|
ynh_legacy_permissions_delete_all
|
||||||
|
|
||||||
|
ynh_app_setting_delete --app=$app --key=is_public
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue