mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
fix linter suggestion
This commit is contained in:
parent
3adff29848
commit
df244810fb
3 changed files with 4 additions and 16 deletions
|
@ -56,7 +56,7 @@
|
|||
},
|
||||
{
|
||||
"name": "github_account",
|
||||
"type": "text",
|
||||
"type": "string",
|
||||
"ask": {
|
||||
"en": "Github's username"
|
||||
},
|
||||
|
@ -64,7 +64,7 @@
|
|||
},
|
||||
{
|
||||
"name": "github_token",
|
||||
"type": "text",
|
||||
"type": "string",
|
||||
"ask": {
|
||||
"en": "Github's token (oauth)"
|
||||
},
|
||||
|
|
|
@ -6,13 +6,7 @@
|
|||
# IMPORT GENERIC HELPERS
|
||||
#=================================================
|
||||
|
||||
if [ ! -e _common.sh ]; then
|
||||
# Get the _common.sh file if it's not in the current directory
|
||||
cp ../settings/scripts/_common.sh ./_common.sh
|
||||
chmod a+rx _common.sh
|
||||
fi
|
||||
|
||||
source _common.sh
|
||||
source ../settings/scripts/_common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
ynh_abort_if_errors
|
||||
|
|
|
@ -6,13 +6,7 @@
|
|||
# IMPORT GENERIC HELPERS
|
||||
#=================================================
|
||||
|
||||
if [ ! -e _common.sh ]; then
|
||||
# Get the _common.sh file if it's not in the current directory
|
||||
cp ../settings/scripts/_common.sh ./_common.sh
|
||||
chmod a+rx _common.sh
|
||||
fi
|
||||
|
||||
source _common.sh
|
||||
source ../settings/scripts/_common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
ynh_abort_if_errors
|
||||
|
|
Loading…
Reference in a new issue