tazpanel diff index.cgi @ rev 523
lib/libtazpanel: add edit_button()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 08 16:06:55 2015 +0200 (2015-08-08) |
parents | fe7c4edfa21b |
children | 48ea049d4a92 |
line diff
1.1 --- a/index.cgi Tue Aug 04 11:16:14 2015 +0200 1.2 +++ b/index.cgi Sat Aug 08 16:06:55 2015 +0200 1.3 @@ -618,9 +618,9 @@ 1.4 print "<pre>" 1.5 for (i in pkg) for (j = split(pkg[i], p, " "); j > 2; j--) { 1.6 if (pkg[p[j]] || alias[p[j]]) kill[p[j]]=1 1.7 - else print "Missing dep " p[j] " for " name(p[1]) 1.8 + else { miss=1 ; print "Missing dep " p[j] " for " name(p[1]) } 1.9 } 1.10 - print "" 1.11 + if (miss) print "" 1.12 n=0 1.13 for (i=0; i < c; i++) { 1.14 if (kill[idx[i]]) continue