1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jirafeau_ynh.git synced 2024-09-03 19:35:53 +02:00

Fix linter errors

This commit is contained in:
Jimmy Monin 2018-05-27 13:07:09 +02:00
parent 23111f726b
commit e14d492478
3 changed files with 17 additions and 21 deletions

View file

@ -3,15 +3,15 @@
"id": "jirafeau",
"packaging_format": 1,
"requirements": {
"yunohost": ">= 2.4.0"
"yunohost": ">= 2.7.12"
},
"description": {
"en": "Upload a file in a simple way and give a unique link to it",
"fr": "Hébergez simplement un fichier et partagez-le avec un lien unique"
},
"url": "https://gitlab.com/mojo42/Jirafeau",
"version": "3.4.1~ynh1",
"license": "AGPLv3",
"version": "3.4.1~ynh2",
"license": "AGPL-3.0-only",
"maintainer": {
"name": "julien",
"email": "julien.malik@paraiso.me"

View file

@ -1,14 +1,5 @@
#!/bin/bash
#=================================================
# GENERIC STARTING
#=================================================
# MANAGE FAILURE OF THE SCRIPT
#=================================================
# Exit on command errors and treat unset variables as an error
set -eu
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
@ -21,6 +12,13 @@ fi
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# MANAGE SCRIPT FAILURE
#=================================================
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
#=================================================
# LOAD SETTINGS
#=================================================

View file

@ -1,14 +1,5 @@
#!/bin/bash
#=================================================
# GENERIC STARTING
#=================================================
# MANAGE FAILURE OF THE SCRIPT
#=================================================
# Exit on command errors and treat unset variables as an error
set -eu
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
@ -21,6 +12,13 @@ set -eu
# source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# MANAGE SCRIPT FAILURE
#=================================================
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
#=================================================
# LOAD SETTINGS
#=================================================