Commit 3d22c692 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: don't check if a play script is executable

parent c87dfdf8
......@@ -51,7 +51,7 @@ __is_app_installed()
__run_script()
{
local script="$psdir/$1.sh"
[ -x "$script" ] || return
[ -s "$script" ] || return
[ -f "$script.rpmnew" ] && warning "There is .rpmnew file(s) in $psdir dir. The play script can be outdated."
shift
......@@ -154,7 +154,7 @@ __check_play_script()
local script="$psdir/$1.sh"
shift
[ -x "$script" ]
[ -s "$script" ]
}
......
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