New comment by sgn on void-packages repository https://github.com/void-linux/void-packages/pull/22484#issuecomment-664377817 Comment: > I don't think it's fully ready, the post remove hook isn't using `-z` to detect if it should do anything. > Btw, how do we deal with > > ``` > if [ ! -x bin/dracut ]; then > exit 0 > fi > ``` If this hook is included with `dracut`, this check is likely unnecessary. Albeit, we should use `usr/bin/dracut` instead? But, this hook is depended on both `dracut` and an efi file provided by `gummiboot`. I'm not sure if it's better to split it out and explicitly `depends` on `gummiboot`? > ? Should it exit with 1 and show an error, since having the hook installed but not dracut is an issue? **I, myself,** don't care about the broken system _if their owners choose to break it_