Pull Request: mandb Command Not Found on macOS During Installation
Problem
During the installation of Betty, the script executes the mandb command, which is unavailable on macOS. This results in the error mandb: command not found. This issue causes confusion among macOS users, as it may appear that the installation process has failed.
Proposed Solution
The installation script should be modified to:
Detect the operating system.
On macOS (identified by OSTYPE as darwin), skip the mandb command and display a message indicating the step is unnecessary.
On Linux, execute mandb as usual.
Testing
The modified script has been tested on both macOS and Linux.
On macOS, the script skips the mandb step and displays a message.
On Linux, the script executes mandb without issues.
Impact
This change ensures a smoother installation experience on macOS and maintains the current functionality on Linux.
Pull Request:
mandb
Command Not Found on macOS During InstallationProblem
During the installation of Betty, the script executes the
mandb
command, which is unavailable on macOS. This results in the errormandb: command not found
. This issue causes confusion among macOS users, as it may appear that the installation process has failed.Proposed Solution
The installation script should be modified to:
OSTYPE
asdarwin
), skip themandb
command and display a message indicating the step is unnecessary.mandb
as usual.Testing
mandb
step and displays a message.mandb
without issues.Impact
This change ensures a smoother installation experience on macOS and maintains the current functionality on Linux.