From 5d0839741342acd4c62b2e970d02a0aabc81e444 Mon Sep 17 00:00:00 2001 From: frju365 Date: Mon, 6 Feb 2017 00:33:16 +0100 Subject: [PATCH] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index e02f420..8b3f53b 100644 --- a/scripts/install +++ b/scripts/install @@ -25,7 +25,7 @@ source /usr/share/yunohost/helpers # usage: ynh_normalize_url_path path_to_normalize # | arg: url_path_to_normalize - URL path to normalize before using it ynh_normalize_url_path () { - path=$1 + path=$2 test -n "$path" || ynh_die "ynh_normalize_url_path expect a URL path as first argument and received nothing." if [ "${path:0:1}" != "/" ]; then # If the first character is not a / path="/$path" # Add / at begin of path variable