mirror of
https://github.com/YunoHost-Apps/glowingbear_ynh.git
synced 2024-09-03 18:36:20 +02:00
Fixes package linter test
This commit is contained in:
parent
4f57a2c91c
commit
b7c060b316
4 changed files with 8 additions and 16 deletions
|
@ -1,10 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
main() {
|
||||
ynh_abort_if_errors
|
||||
|
||||
local app=$YNH_APP_INSTANCE_NAME
|
||||
local domain=$(ynh_app_setting_get $app domain)
|
||||
local path=$(ynh_app_setting_get $app path)
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Exit on command errors
|
||||
# set -o errexit
|
||||
# Treat unset variables as an error
|
||||
# set -o nounset
|
||||
set -eu
|
||||
|
||||
source /usr/share/yunohost/helpers
|
||||
source .hfunctions
|
||||
|
||||
|
@ -36,6 +30,8 @@ ynh_normalize_path() {
|
|||
}
|
||||
|
||||
main() {
|
||||
ynh_abort_if_errors
|
||||
|
||||
local app=$YNH_APP_INSTANCE_NAME
|
||||
local is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||
local domain=$YNH_APP_ARG_DOMAIN
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
# TODO: enable with fix of https://github.com/YunoHost/yunohost/pull/246
|
||||
# source .hfunctions
|
||||
|
||||
main() {
|
||||
ynh_abort_if_errors
|
||||
|
||||
local app=$YNH_APP_INSTANCE_NAME
|
||||
local domain=$(ynh_app_setting_get $app domain)
|
||||
local path=$(ynh_app_setting_get $app path)
|
||||
|
|
|
@ -1,15 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Exit on command errors
|
||||
#set -o errexit
|
||||
# Treat unset variables as an error
|
||||
#set -o nounset
|
||||
set -eu
|
||||
|
||||
source /usr/share/yunohost/helpers
|
||||
source .hfunctions
|
||||
|
||||
main() {
|
||||
ynh_abort_if_errors
|
||||
|
||||
local app=${YNH_APP_INSTANCE_NAME}
|
||||
local domain=$(ynh_app_setting_get ${app} domain)
|
||||
local path=$(ynh_app_setting_get ${app} path)
|
||||
|
|
Loading…
Add table
Reference in a new issue