Bug#762940: grub-pc preinst and postrm scripts use bash

Colin Watson cjwatson at debian.org
Fri Sep 26 14:24:09 UTC 2014


Control: tag -1 pending

On Fri, Sep 26, 2014 at 02:55:53PM +0200, John Hughes wrote:
> The preinst and postrm scripts use bash, but don't seem to include any
> bashisms.  It'd be nice to use /bin/sh instead.

The postrm actually uses brace-expansion, which is a bashism.  But I've
fixed that now and switched both to /bin/sh.  Thanks.

(The postinst should be possible too, but requires a bit more auditing
...)

-- 
Colin Watson                                       [cjwatson at debian.org]



More information about the Pkg-grub-devel mailing list