[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#843727: fix inside



On 11/09/2016 10:53 PM, Aurélien COUDERC wrote:
control: tags -1 pending

Le mercredi 9 novembre 2016, 22:45:32 CET Eric Valette a écrit :
the wrong code is calling "which update-initramfs" outside of if
because then the set -e catch an error and there is no way the
test on $? can work

correct code is:

     if which update-initramfs > /dev/null; then
         update-initramfs -u
     fi

Yes, was preparing that already after reading your last mail. :-)

It’s now committed to SVN and will be in the next upload.


While you are at it, maybe it is time to replace update-grub2 by update-grub because the move is complete even for jessie...

-- eric


Reply to: