On 12/20/2010 12:28 AM, Alban Browaeys wrote: > in the postinst the loop test while [ 1 ] > I prefer while [ true ]; . In shell true is 0 not 1. > I don't know for [] ie "test" command but I guess it is the same.
I see your point. Even better: while true; ... as both while [ true ]; ... and while [ false ]; ... evaluate to true :) > the postinst fails with an status error 30 on my station. > This comes from : > db_input high ntop/admin_password line 72 which I replaced by > db_input high ntop/admin_password || true Mhm, line 72 is already db_input high ntop/admin_password || true so I guess you are talking about line 74 db_get ntop/admin_password which can also return 30 (i.e. we have no value because the question was skipped). > . Which fixes the issue and let ntop configure properly. > This one could be a local issue but I was already asked the question via > dialog When were you asked the question? While installing that same package? On a previous installation? Same version or older version? In this case db_get should have the value and not return 30... Thank you for reporting the issue, Cheers, Ludovico -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org