Note: I had to tweak the patch to make it work correctly using dash as the shell.
Specifically, in my case, `[ -w /etc/udev/rules.d ]` does not seem to work correctly using the dash built-ins, so I tweaked the conditional to give the full path to `[`, which bypasses the buggy built-in.
Note: I had to tweak the patch to make it work correctly using dash as the shell.
Specifically, in my case, `[ -w /etc/udev/rules.d ]` does not seem to work correctly using the dash built-ins, so I tweaked the conditional to give the full path to `[`, which bypasses the buggy built-in.
i.e.
if /usr/bin/[ -w /etc/udev/rules.d ]; then
...
fi