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

myhsh: skip sisyphus_check if missed

parent 2f0a76dc
......@@ -106,8 +106,11 @@ fi
# Skip checking for tar arg
if [ -n "${LISTNAMES/*tar/}" ] ; then
$EPMCMD assure sisyphus_check || fatal
docmd sisyphus_check --no-check=$HASHER_NOCHECK --files $LISTNAMES || fatal "check for sisyphus failed"
if $EPMCMD assure sisyphus_check ; then
docmd sisyphus_check --no-check=$HASHER_NOCHECK --files $LISTNAMES || fatal
else
info "Skip sisyphus_check (no command is installed)"
fi
fi
# export OURAPTCONF with temp. file contains correct path to sources.list
......
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