Commit 585c89f4 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm history: cleanup

parent 34d80166
...@@ -18,10 +18,11 @@ ...@@ -18,10 +18,11 @@
# #
EHOG='\(apt-get\|rpm\)' EHOG='\(apt-get\|rpm\)'
JCHAN='-t apt-get -t rpm'
__alt_epm_history_journal() __alt_epm_history_journal()
{ {
a= journalctl -t apt-get -t rpm a= journalctl $JCHAN
} }
__alt_epm_history_uniq() __alt_epm_history_uniq()
...@@ -144,7 +145,7 @@ fi ...@@ -144,7 +145,7 @@ fi
case $PMTYPE in case $PMTYPE in
apt-rpm) apt-rpm)
docmd journalctl -t apt-get -t rpm -r docmd journalctl $JCHAN -r
;; ;;
apt-dpkg) apt-dpkg)
docmd less /var/log/dpkg.log docmd less /var/log/dpkg.log
......
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