Check for python to be installed.

This commit is contained in:
Manuel Friedli 2020-08-04 03:52:33 +02:00
parent 30e53268f5
commit df9f54dcab

View file

@ -26,8 +26,8 @@
# # # #
# Prerequisites: # # Prerequisites: #
# - app-admin/sudo (`sudo`) # # - app-admin/sudo (`sudo`) #
# - dev-lang/python:3.8 (`python`) #
# - net-analyzer/fail2ban (`fail2ban-client`) # # - net-analyzer/fail2ban (`fail2ban-client`) #
# - net-misc/whois (`whois`) #
# - sys-apps/coreutils (`cut`, `id`, `sort`, `touch`, `tr`, `uniq`) # # - sys-apps/coreutils (`cut`, `id`, `sort`, `touch`, `tr`, `uniq`) #
# - sys-apps/grep (`grep`) # # - sys-apps/grep (`grep`) #
# - sys-apps/moreutils (`sponge`) # # - sys-apps/moreutils (`sponge`) #
@ -385,6 +385,7 @@ database=
parse_command_line_args "$@" parse_command_line_args "$@"
check_installed "sudo" "app-admin/sudo" check_installed "sudo" "app-admin/sudo"
check_installed "python" "dev-lang/python:3.8"
check_installed "fail2ban-client" "net-analyzer/fail2ban" check_installed "fail2ban-client" "net-analyzer/fail2ban"
check_installed "whois" "net-misc/whois" check_installed "whois" "net-misc/whois"
check_installed "cut" "sys-apps/coreutils" check_installed "cut" "sys-apps/coreutils"