Commit 0e51e328 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix checkpkg for Windows

parent 82a4b904
......@@ -33,7 +33,7 @@ check_pkg_integrity()
docmd dpkg --contents $PKG >/dev/null && echo "Package $PKG is correct."
;;
exe)
true
file $PKG | grep -q "executable for MS Windows"
;;
ebuild)
true
......
......@@ -299,7 +299,7 @@ assure_exists()
__epm_assure "$1" $package
}
# improve
# TODO: improve and drop!
get_package_type()
{
local i
......@@ -320,6 +320,10 @@ get_package_type()
echo "tbz"
return
;;
*.exe)
echo "exe"
return
;;
*)
#fatal "Don't know type of $1"
# return package name for info
......
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