Control: forcemerge 508041 794380

Hi dud--

On Sun 2015-08-02 07:25:59 -0400, dud wrote:

> I just met the exact same issue as reported in #508041 :
>
> Here is the snippet I use to custom the keyboard layout :
>
> #!/bin/sh -e
>
> debirf_exec apt-get --assume-yes install console-setup && cp
> /etc/default/keyboard "${DEBIRF_ROOT}/etc/default/keyboard"

The solution for 508041 was (from debian/changelog):

   * change shebang line for all modules that call debirf_exec to
     /bin/bash, so they will work properly when /bin/sh is not /bin/bash.
     this also includes changes to enter subcommand to compensate (closes
     CMRG #99)  (Closes: #508041).

But your module uses /bin/sh instead of /bin/bash.

/bin/sh does not inherit shell functions, but /bin/bash does.

> Unfortunately Debirf fails when executing that module :
>
> run-parts: executing rescue/modules/keyboard
> rescue/modules/keyboard: 3: rescue/modules/keyboard: debirf_exec: not found
> run-parts: rescue/modules/keyboard exited with return code 127

Right.  You should fix your module to use an appropriate shebang line if
you're planning on calling debirf_exec in it :)

Regards,

        --dkg


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to