Skip to content
Compare
Choose a tag to compare
@thinkroot99 thinkroot99 released this 08 May 11:27
· 1 commit to main since this release

Version 1.2 (2024-05-08)

Changes

  • I added checks for the existence of the commands used in the print_system_info function using the command -v command_name &>/dev/null command. This prevents errors that may occur if a command is not available in the system.
  • I introduced explanatory comments to facilitate understanding for other programmers or users.
  • I optimized the package_count function to avoid unnecessary command executions and removed some redundancies in terms of testing the existence of commands.
  • I emphasized uniform styling of the code, such as indentation and the use of spaces, for easier readability.