Commit fba571e2 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-install: apt need ./ path for install deb packages

parent 8100dc85
......@@ -349,7 +349,8 @@ epm_install_files()
# return OK if all is OK
[ "$RES" = "0" ] && return $RES
epm_install_names "$@"
# are there apt that don't support dpkg files to install?
epm_install_names $(make_filepath "$@")
return
# TODO: workaround with epm-check needed only for very old apt
......
......@@ -190,6 +190,17 @@ realpath()
}
fi
# print full path to files
make_filepath()
{
local i
for i in "$@" ; do
[ -f "$i" ] || continue
echo "$i" | grep -q "/" && echo "$i" && continue
echo "./$i"
done
}
get_firstarg()
{
echon "$1"
......
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