]> git.pld-linux.org Git - projects/cleanbuild.git/commitdiff
update docbook-style-xsl; generic exec finder
authorElan Ruusamäe <glen@delfi.ee>
Sun, 2 Oct 2016 15:53:15 +0000 (18:53 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 14 Dec 2016 20:43:04 +0000 (22:43 +0200)
findbr

diff --git a/findbr b/findbr
index 352e9fc9524e370b04ee3eb36f8861378a8567d0..2d0b94b5f3dc1c83b37b0d52b0decd20082d422a 100755 (executable)
--- a/findbr
+++ b/findbr
@@ -456,6 +456,9 @@ while ( $_ = shift @lines ) {
                warn "Looking for docbook file $db\n";
                poldek_file( "/usr/share/sgml/*/$db" );
        }
+       if (m{Could not find HTML docbook.xsl}) {
+               add_br("docbook-style-xsl");
+       }
 
        if ( m{LaTeX Error: File `(\S+)' not found} ) {
                my $tex = $1;
@@ -665,6 +668,14 @@ while ( $_ = shift @lines ) {
                        poldek_file( "/usr/bin/$exec", "/bin/$exec" );
                }
        }
+
+
+       if (
+               m{Could not find (\S+)}
+       ) {
+               my $exec = $1;
+               poldek_file("/usr/bin/$exec", "/bin/$exec" );
+       }
 }
 
 
This page took 0.083126 seconds and 4 git commands to generate.