Commit 6ed16d31 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-assure: fix for dir checking support

parent 1dd7202d
......@@ -47,9 +47,9 @@ __epm_assure()
{
if is_dirpath "$1" ; then
if [ -r "$1" ] ; then
if [ -e "$1" ] ; then
if [ -n "$verbose" ] ; then
info "File $1 is exists."
info "File or directory $1 is already exists."
epm qf "$1"
fi
return 0
......@@ -94,5 +94,5 @@ epm_assure()
[ -n "$pkg_filenames" ] || fatal "Assure: Missing params. Check $0 --help for info."
# use helper func for extract separate params
__epm_assure $pkg_filenames
__epm_assure $(eval echo $quoted_args)
}
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