Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mandb Command Not Found on macOS During Installation #60

Open
Abdurahman-hassan opened this issue Dec 1, 2023 · 0 comments
Open

mandb Command Not Found on macOS During Installation #60

Abdurahman-hassan opened this issue Dec 1, 2023 · 0 comments

Comments

@Abdurahman-hassan
Copy link

Abdurahman-hassan commented Dec 1, 2023

Problem:

The installation script for Betty includes the mandb command, which is not available on macOS. This results in an error message (mandb: command not found) when the script is run on a macOS system.

Impact:

This issue causes confusion and may lead users to believe that the installation process has failed, even though Betty is
installed correctly.

Proposed Solution:

Modify the installation script to check the operating system type. If the script detects macOS (darwin), it should skip the mandb command and display a message indicating that this step is not necessary. On Linux systems, the script should execute mandb as usual.

Testing:

The modified script has been tested on both macOS and Linux systems to ensure that it behaves as expected, skipping the mandb command on macOS and executing it on Linux.

Link to Issue

Addresses issue #60.

Abdurahman-hassan added a commit to Abdurahman-hassan/Betty that referenced this issue Dec 1, 2023
- Modified install.sh to check operating system type.
- Added condition to skip  command on macOS (darwin).
- Maintained  execution on Linux systems.
- Ensures smoother installation on macOS without affecting Linux behavior.
- Addresses issue alx-tools#60.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant