Skip to content

Commit

Permalink
aptitude: some styling for autoclean
Browse files Browse the repository at this point in the history
  • Loading branch information
jeekl committed Apr 14, 2013
1 parent 9ba1fe6 commit 79e02b9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion scripts/aptitude
Expand Up @@ -146,7 +146,14 @@ sub process {
line qr{^(c)\s+} => 'yellow';
line qr{^(d)\s+} => 'red';
line qr{^\w\s(A)\s+} => 'green';
line qr{^\w\s+([\d|.\\|-]+)\s+([\w|-|:]+)\s+(\d+)} => 'blue bold', 'yellow', 'red';
line qr{^\w\s+([\d|.\\|-]+)\s+([\w|-|:]+)\s+(\d+)} => 'blue', 'yellow', 'red';

# Del xulrunner-21.0 21.0~a2+20130315042012-1 [14.5 MB]
# Del subversion 1.6.17dfsg-4 [1,315 kB]
# Del emacs-snapshot-el 2:20130403-1 [15.1 MB]
# Freed 281 MB of disk space
line qr{^(Del) (.*) \[(.*)\]} => 'red', 'blue bold', 'blue';
line qr{^Freed (.*) of disk space} => 'blue';
}

run( \&process, real_path, @ARGV );
Expand Down

0 comments on commit 79e02b9

Please sign in to comment.