diff --git a/lib/libnetwork.lib.in b/lib/libnetwork.lib.in index 90ae8e0..7b92977 100644 --- a/lib/libnetwork.lib.in +++ b/lib/libnetwork.lib.in @@ -98,7 +98,7 @@ function repository.get_srpm_pckname_from_site() { notify.debug "$FUNCNAME: infile = \"$infile\"" local regexpr - [[ "$pck_name" =~ ^[a-zA-Z0-9_-]+$ ]] && \ + [[ "$pck_name" =~ ^[+a-zA-Z0-9_-]+$ ]] && \ regexpr="^$pck_name-[^-]\+-[^-]\+$" || regexpr="$pck_name" notify.debug "$FUNCNAME: regexpr = \"$regexpr\""