cookutils diff lighttpd/index.cgi @ rev 905

cook: got separate {pre;post}_{install;remove} functions for every package; tweak copy(); lighttpd/index.cgi: fix links with '+' in activity log.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 27 16:23:38 2017 +0300 (2017-05-27)
parents d41948eec3e6
children f439bf689ac8
line diff
     1.1 --- a/lighttpd/index.cgi	Fri May 26 16:22:26 2017 +0300
     1.2 +++ b/lighttpd/index.cgi	Sat May 27 16:23:38 2017 +0300
     1.3 @@ -707,7 +707,7 @@
     1.4  			[ "$list" == 'cooklist' ] && nb="- Packages: $(wc -l < $cooklist)"
     1.5  			echo '<section id="content2">'
     1.6  			echo "<h2>DB: $list $nb</h2>"
     1.7 -			tac $CACHE/$list | sed 's|cooker.cgi?pkg=||;
     1.8 +			tac $CACHE/$list | sed 's|cooker.cgi?pkg=||; s|%2B|+|g;
     1.9  				s|\[ Done|<span class="r c20">Done|;
    1.10  				s|\[ Failed|<span class="r c10">Failed|;
    1.11  				s| \]|</span>|' | mktable $list