Commit a57f6efb authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-mark: add showhold

parent 14ff1045
......@@ -68,6 +68,11 @@ __alt_mark_unhold()
done
}
__alt_mark_showhold()
{
grep -h "RPM::Hold" /etc/apt/apt.conf.d/hold-*.conf 2>/dev/null | sed -e 's|RPM::Hold {"^\(.*\)";};|\1|'
}
epm_mark()
{
......@@ -83,6 +88,11 @@ case $PMTYPE in
__alt_mark_unhold "$@"
exit
fi
if [ "$1" = "showhold" ] ; then
shift
__alt_mark_showhold "$@"
exit
fi
sudocmd apt-mark "$@"
if [ "$1" = "" ] || [ "$1" = "--help" ] || [ "$1" = "-h" ] ; then
echo
......
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