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

repl: fix case for deb dependencies

parent ce3d23e4
......@@ -30,8 +30,9 @@ tolocal_anyrepl()
done
# Hack for default replace -devel to -dev on Deb target
# Fix upper case
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
ALTPKGNAME=$GREP
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