Commit 6180a685 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add yum version support

parent c2679c0e
......@@ -197,7 +197,9 @@ check_command()
epm_cmd=upgrade
;;
version) # HELPCMD: Display a version for the machine and/or available repos.
fatal "Is not supported"
echo "Installed: $DISTRVERSION/$DISTRARCH"
echo "version"
exit 0
;;
*)
return 1
......
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