mirror of
https://github.com/YunoHost-Apps/haste_ynh.git
synced 2024-09-03 20:36:28 +02:00
Cleaning up
This commit is contained in:
parent
35b7f7672e
commit
5089f39238
4 changed files with 3 additions and 12 deletions
|
@ -28,7 +28,7 @@ Haste is an open-source pastebin software written in node.js, which is easily in
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* Official documentation: https://hastebin.com/about.md
|
* Official documentation: https://hastebin.com/about.md
|
||||||
* YunoHost documentation: If specific documentation is needed, feel free to contribute.
|
* YunoHost documentation: https://yunohost.org/en/app_haste
|
||||||
|
|
||||||
## YunoHost specific features
|
## YunoHost specific features
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ Haste est un logiciel pastebin open-source écrit en node.js, facilement install
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* Documentation officielle: https://hastebin.com/about.md
|
* Documentation officielle: https://hastebin.com/about.md
|
||||||
* Documentation YunoHost: Si une documentation spécifique est nécessaire, n'hésitez pas à contribuer.
|
* Documentation YunoHost: https://yunohost.org/fr/app_haste
|
||||||
|
|
||||||
## Caractéristiques spécifiques YunoHost
|
## Caractéristiques spécifiques YunoHost
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Open-source pastebin allowing to upload texts",
|
"en": "Open-source pastebin allowing to upload texts",
|
||||||
"fr": "Pastebin open-source permettant de mettre en ligne du texte"
|
"fr": "Pastebin open-source permettant de mettre en ligne du texte"
|
||||||
},
|
},
|
||||||
"version": "0.1.0~ynh5",
|
"version": "0.1.0~ynh6",
|
||||||
"url": "https://github.com/seejohnrun/haste-server",
|
"url": "https://github.com/seejohnrun/haste-server",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -31,15 +31,6 @@ upgrade_type=$(ynh_check_app_version_changed)
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||||
|
|
||||||
# Fix is_public as a boolean value
|
|
||||||
if [ "$is_public" = "Yes" ]; then
|
|
||||||
ynh_app_setting_set --app=$app --key=is_public --value=1
|
|
||||||
is_public=1
|
|
||||||
elif [ "$is_public" = "No" ]; then
|
|
||||||
ynh_app_setting_set --app=$app --key=is_public --value=0
|
|
||||||
is_public=0
|
|
||||||
fi
|
|
||||||
|
|
||||||
# If final_path doesn't exist, create it
|
# If final_path doesn't exist, create it
|
||||||
if [ -z "$final_path" ]; then
|
if [ -z "$final_path" ]; then
|
||||||
final_path=/var/www/$app
|
final_path=/var/www/$app
|
||||||
|
|
Loading…
Add table
Reference in a new issue