Commit bfabe64e authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm print: fix shortname on deb systems

parent b10b5b16
......@@ -172,6 +172,7 @@ print_binpkgfilelist()
# nx-libs-3.5.99.26.1-eter2astra:amd64
PKGNAMEMASK4="6\(.*\)[_-]\([^_-]*\)[_-]\(.*[0-9].*\):\(.*\)$"
# nx-libs-3.5.99.26.1-eter2astra
# microsoft-edge-stable_113.0.1774.35-1_amd64.deb
PKGNAMEMASK3="^\(.*\)[_-]\([^_-]*\)[_-]\(.*[0-9].*\)$"
# nx-libs-3.5.99.26.1
#PKGNAMEMASK2="^\(.*\)[_-]\([0-9].*\)$"
......@@ -191,7 +192,7 @@ print_shortname()
{
#if [ "$
#echo "$@" | xargs -n1 echo | sed -e "s|$PKGNAMEMASK4|\1-\2-\3|" -e "s|$PKGNAMEMASK3|\1|"
echo "$@" | xargs -n1 echo | sed -e "s|$PKGNAMEMASK3|\1|"
print_pkgname "$@" | xargs -n1 echo | sed -e "s|$PKGNAMEMASK3|\1|"
}
print_version()
......
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