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

fix checkpkg for Windows

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