Commit 43585a85 authored by Vitaly Lipatov's avatar Vitaly Lipatov

small fixes

parent 4f6c7ac2
...@@ -51,6 +51,7 @@ __epm_assure_checking() ...@@ -51,6 +51,7 @@ __epm_assure_checking()
[ -n "$PACKAGEVERSION" ] && return 1 [ -n "$PACKAGEVERSION" ] && return 1
if is_dirpath "$CMD" ; then if is_dirpath "$CMD" ; then
# TODO: check for /usr/bin, /bin, /usr/sbin, /sbin
if [ -e "$CMD" ] ; then if [ -e "$CMD" ] ; then
if [ -n "$verbose" ] ; then if [ -n "$verbose" ] ; then
info "File or directory $CMD is already exists." info "File or directory $CMD is already exists."
...@@ -59,7 +60,7 @@ __epm_assure_checking() ...@@ -59,7 +60,7 @@ __epm_assure_checking()
return 0 return 0
fi fi
[ -n "$PACKAGE" ] || fatal "You need run with package name param when use with absolute path" [ -n "$PACKAGE" ] || fatal "You need run with package name param when use with absolute path to non executable file"
return 1 return 1
fi fi
......
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