Commit 904db438 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play.d/common.sh: fix to support low case package names on deb based systems

parent 5ac709a0
...@@ -449,6 +449,7 @@ check_for_product_update() ...@@ -449,6 +449,7 @@ check_for_product_update()
} }
case "$1" in case "$1" in
"--description") "--description")
is_supported_arch "$2" || exit 0 is_supported_arch "$2" || exit 0
...@@ -465,6 +466,11 @@ esac ...@@ -465,6 +466,11 @@ esac
[ -n "$PRODUCTALT" ] && check_alternative_pkgname [ -n "$PRODUCTALT" ] && check_alternative_pkgname
[ -n "$PKGNAME" ] || fatal "Can't get PKGNAME" [ -n "$PKGNAME" ] || fatal "Can't get PKGNAME"
pkgtype="$(epm print info -p)"
# deb targets always in low case
[ "$pkgtype" = "deb" ] && PKGNAME="$(echo $PKGNAME | tr "[A-Z]" "[a-z]")"
case "$1" in case "$1" in
"--package-name") "--package-name")
#[ -n "$DESCRIPTION" ] || exit 0 #[ -n "$DESCRIPTION" ] || exit 0
......
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