- Fixed a syntax error in the `check_requirements` function by replacing the incorrect closing brace with `fi`.
- This change ensures proper script execution and improves error handling for user permissions.
This commit addresses a critical issue in the installation script to enhance reliability.