Skip to content

Commit

Permalink
Add Gentoo support to environment_check.sh
Browse files Browse the repository at this point in the history
This addition will allow Gentoo users to run this script and get sensible error messages in case they forgot to install required packages.

Signed-off-by: Serge Tkatchouk <sp1j3t@gmail.com>
spijet authored and innobead committed Jul 29, 2022
1 parent df3462e commit c1b93f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/environment_check.sh
Original file line number Diff line number Diff line change
@@ -97,6 +97,10 @@ set_packages_and_check_cmd()
CHECK_CMD='pacman -Q'
PACKAGES=(nfs-utils open-iscsi)
;;
*"gentoo"* )
CHECK_CMD='qlist -I'
PACKAGES=(net-fs/nfs-utils sys-block/open-iscsi)
;;
*)
CHECK_CMD=''
PACKAGES=()

0 comments on commit c1b93f5

Please sign in to comment.