There might not be spaces at the end of the line
authorJamie Cameron <jcameron@webmin.com>
Fri, 11 Dec 2009 00:23:37 +0000 (16:23 -0800)
committerJamie Cameron <jcameron@webmin.com>
Fri, 11 Dec 2009 00:23:37 +0000 (16:23 -0800)
software/yum-lib.pl

index 55880ec..715222c 100755 (executable)
@@ -29,7 +29,7 @@ while(<CMD>) {
        if (/^\[(update|install|deps):\s+(\S+)\s+/) {
                push(@rv, $2);
                }
-       elsif (/^(Installed|Dependency Installed|Updated|Dependency Updated):\s+(.*)/) {
+       elsif (/^(Installed|Dependency Installed|Updated|Dependency Updated):\s*(.*)/) {
                local @pkgs = split(/\s+/, $2);
                if (!@pkgs) {
                        # Wrapped to next line