Commit 8c775952 authored by Vitaly Lipatov's avatar Vitaly Lipatov

repl: fix case for deb dependencies

parent ce3d23e4
...@@ -30,8 +30,9 @@ tolocal_anyrepl() ...@@ -30,8 +30,9 @@ tolocal_anyrepl()
done done
# Hack for default replace -devel to -dev on Deb target # Hack for default replace -devel to -dev on Deb target
# Fix upper case
if [ "$PKGFORMAT" = "deb" ] ; then if [ "$PKGFORMAT" = "deb" ] ; then
local NEWRESULT=`echo $GREP | sed -e "s|^ *\(.*\)-devel *\$|\1-dev|g"` local NEWRESULT=`echo $GREP | sed -e "s|^ *\(.*\)-devel *\$|\1-dev|g" | tr "[A-Z]" "[a-z]"`
[ "$NEWRESULT" = "$GREP" ] && return 1 [ "$NEWRESULT" = "$GREP" ] && return 1
ALTPKGNAME=$GREP ALTPKGNAME=$GREP
TARGETPKGNAME="$NEWRESULT" TARGETPKGNAME="$NEWRESULT"
......
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