1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snipeit_ynh.git synced 2024-09-03 20:26:16 +02:00

fix linter warnings

This commit is contained in:
ericgaspar 2020-12-14 20:52:35 +01:00
parent adddbc1212
commit baa9700502
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 1 additions and 9 deletions

View file

@ -30,8 +30,7 @@ exec_as() {
if [[ $USER = $(whoami) ]]; then
eval $@
else
# use sudo twice to be root and be allowed to use another user
sudo sudo -u "$USER" $@
sudo -u "$USER" $@
fi
}

View file

@ -72,13 +72,6 @@ ynh_clean_setup () {
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
#=================================================
# CHECK THE PATH
#=================================================
# Normalize the URL path syntax
path_url=$(ynh_normalize_url_path --path_url=$path_url)
#=================================================
# STANDARD UPGRADE STEPS
#=================================================