> > if [ "$variant" == "Unicode" ]; then
> >
> > That is a bashism which will fail if /bin/sh is dash. Use
> > [ "foo" = "bar" ] instead.
>
> Thanks... are there any more pitfalls like this?
[ expr -a expr ] is a pretty common "mistake".
[ expr ] && [ expr ] should be used instead.
(The same with
"Arne Götje" <[EMAIL PROTECTED]> wrote:
> On Wednesday 15 December 2004 16:32, Andreas Metzler wrote:
>> postinst:
>> #!/bin/sh
>> [...]
>> if [ "$variant" == "Unicode" ]; then
>> That is a bashism which will fail if /bin/sh is dash. Use
>> [ "foo" = "bar" ] instead.
> Thanks... are there any mo
On Wednesday 15 December 2004 17:04, Bartosz Fenski aka fEnIo wrote:
> You didn't attached your rules file and I suppose that there is a
> problem, which cause not displaying your question.
>
> Are you sure you've got dh_installdebconf in your binary-common
> target in rules file? Otherwise your de
On Wednesday 15 December 2004 16:32, Andreas Metzler wrote:
> postinst:
> #!/bin/sh
> [...]
> if [ "$variant" == "Unicode" ]; then
>
> That is a bashism which will fail if /bin/sh is dash. Use
> [ "foo" = "bar" ] instead.
Thanks... are there any more pitfalls like this?
Scripts work now. Thanks.
On Wednesday 15 December 2004 17:04, Bartosz Fenski aka fEnIo wrote:
> You didn't attached your rules file and I suppose that there is a
> problem, which cause not displaying your question.
>
> Are you sure you've got dh_installdebconf in your binary-common
> target in rules file? Otherwise your de
A bit out of topic and not helpful for your main problem, but please
find a little advice about the templates themselves...
First of all, please make them translatable.
man po-debconf will give you the needed information, but it's
basically a matter of prepending Choices and Description with "_"
On Wed, Dec 15, 2004 at 01:34:40PM +0800, Arne Götje (?) wrote:
> Further more, the dialog I have created in config gets never displayed
> to the user... :(
>
> I have attached the config, templates and postinst files.
You didn't attached your rules file and I suppose that there is a pro
"Arne Götje" <[EMAIL PROTECTED]> wrote:
> I need some help with debconf, especially for the config and postinst
> scripts.
> I tried to craft my own ones for my font package and when I try to
> install the package the postinst script exits with status 10. What does
> this mean?
> Further more, t
8 matches
Mail list logo