mirror of
https://github.com/YunoHost-Apps/etherpad_mypads_ynh.git
synced 2024-09-03 18:36:09 +02:00
Fix caps
This commit is contained in:
parent
33323fe307
commit
ef3531aae5
4 changed files with 9 additions and 9 deletions
10
actions.toml
10
actions.toml
|
@ -1,20 +1,20 @@
|
|||
[add_remove_abiword]
|
||||
name = "Install/remove abiword"
|
||||
name = "Install/remove AbiWord"
|
||||
command = "/bin/bash scripts/actions/add_remove_abiword"
|
||||
# user = "root" # optional
|
||||
# cwd = "/" # optional
|
||||
# accepted_return_codes = [0, 1, 2, 3] # optional
|
||||
accepted_return_codes = [0]
|
||||
description = "Install or remove abiword"
|
||||
description = "Install or remove AbiWord"
|
||||
|
||||
[add_remove_libreoffice]
|
||||
name = "Install/remove libreoffice"
|
||||
name = "Install/remove LibreOffice"
|
||||
command = "/bin/bash scripts/actions/add_remove_libreoffice"
|
||||
# user = "root" # optional
|
||||
# cwd = "/" # optional
|
||||
# accepted_return_codes = [0, 1, 2, 3] # optional
|
||||
accepted_return_codes = [0]
|
||||
description = "Install or remove libreoffice"
|
||||
description = "Install or remove LibreOffice"
|
||||
|
||||
[list_all_pads]
|
||||
name = "List all existing pads"
|
||||
|
@ -46,5 +46,5 @@ description = "Change the public access of the app."
|
|||
[public_private.arguments]
|
||||
[public_private.arguments.is_public]
|
||||
type = "boolean"
|
||||
ask = "Is it a public app ?"
|
||||
ask = "Is it a public app?"
|
||||
default = true
|
||||
|
|
|
@ -65,7 +65,7 @@ fi
|
|||
# INSTALL OR REMOVE ABIWORD
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression --message="$action2 Abiword..." --weight=3
|
||||
ynh_script_progression --message="$action2 AbiWord..." --weight=3
|
||||
|
||||
# Load common variables, and especially abiword dependencies.
|
||||
source scripts/_variables
|
||||
|
|
|
@ -46,7 +46,7 @@ else
|
|||
action2=Installing
|
||||
fi
|
||||
|
||||
ynh_print_info --message="Libreoffice will be $action1."
|
||||
ynh_print_info --message="LibreOffice will be $action1."
|
||||
|
||||
if apt-cache depends ${app//_/-}-ynh-deps | grep --quiet abiword
|
||||
then
|
||||
|
@ -65,7 +65,7 @@ fi
|
|||
# INSTALL OR REMOVE LIBREOFFICE
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression --message="$action2 Libreoffice..." --weight=3
|
||||
ynh_script_progression --message="$action2 LibreOffice..." --weight=3
|
||||
|
||||
# Load common variables, and especially libreoffice dependencies.
|
||||
source scripts/_variables
|
||||
|
|
|
@ -69,7 +69,7 @@ ynh_app_setting_set --app=$app --key=is_public --value=$is_public
|
|||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
ynh_script_progression --message="Reloading nginx web server..."
|
||||
ynh_script_progression --message="Reloading NGINX web server..."
|
||||
|
||||
ynh_systemd_action --service_name=nginx --action=reload
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue