- For several users, the message was unclear and seemed to imply a serious problem occurring, which was not intended. This should improve the readability of the message.
- Fixes https://github.com/termux/termux-packages/issues/25217
- Moves the call to `update_mandoc()` to a codepath that is simultaneously:
- more likely to run when necessary (such as during `--config` subcommands)
- and less likely to run when unnecessary (such as during `--install` and `--remove` subcommands)
- I would be interested in test results from others' devices if possible, because unfortunately, when I tested the original version of this patch it initially worked, but then stopped working after a few days.