pck-update (-a0): libnetwork.lib: remove trailing .src.rpm
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
882c043dc4
commit
7d544e6481
@ -57,7 +57,7 @@ function repository.get_srpm_pckname_from_HTML() {
|
||||
# remove HTML tags --> get a better input
|
||||
/<[aA] [hH][rR][eE][fF]=\".*\.src\.rpm\"/{
|
||||
s|.*<[aA] [hH][rR][eE][fF]=\"\([^\"]*\)\".*|\1|
|
||||
{/$regexpr/p}
|
||||
{/$regexpr/{s,\.src\.rpm,,;p}}
|
||||
}" $infile) )
|
||||
echo "${pckname_from_HTML[*]}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user