And regardless of whether it's necessary in the first place, why is it a
bash script rather than a
sh script? Very few of these use bash-specific extensions, and the BSDs don't necessarily have bash installed.
Things like that make porting from Linux to BSD and other Unices tons of fun.