Commit 3377f6c7 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-sh-functions: add file:/ support to is_url ()

parent 29291a9d
......@@ -759,7 +759,7 @@ has_space()
is_url()
{
echo "$1" | grep -q "^[fhtps]*://"
echo "$1" | grep -q "^[filehtps]*:/"
}
# print a path to the command if exists in $PATH
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment