Commit d88f2e67 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm: inform about missed epm-play package

parent bc5c681d
...@@ -54,7 +54,11 @@ load_helper() ...@@ -54,7 +54,11 @@ load_helper()
local CMD="$SHAREDIR/$1" local CMD="$SHAREDIR/$1"
# do not use fatal() here, it can be initial state # do not use fatal() here, it can be initial state
[ -r "$CMD" ] || { message 'FATAL: Have no $CMD helper file' ; exit 1; } if [ ! -r "$CMD" ] ; then
message 'FATAL: Have no $CMD helper file'
[ "$1" = "epm-play" ] && message 'Install eepm-play package to use epm play command.'
exit 1
fi
eval "$shieldname=1" eval "$shieldname=1"
# shellcheck disable=SC1090 # shellcheck disable=SC1090
. $CMD . $CMD
......
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