Add Gentoo support to environment_check.sh
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>
(cherry picked from commit c1b93f5531
)
Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
This commit is contained in:
parent
8220a6194c
commit
fc66ce16d9
@ -97,6 +97,10 @@ set_packages_and_check_cmd()
|
|||||||
CHECK_CMD='pacman -Q'
|
CHECK_CMD='pacman -Q'
|
||||||
PACKAGES=(nfs-utils open-iscsi)
|
PACKAGES=(nfs-utils open-iscsi)
|
||||||
;;
|
;;
|
||||||
|
*"gentoo"* )
|
||||||
|
CHECK_CMD='qlist -I'
|
||||||
|
PACKAGES=(net-fs/nfs-utils sys-block/open-iscsi)
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
CHECK_CMD=''
|
CHECK_CMD=''
|
||||||
PACKAGES=()
|
PACKAGES=()
|
||||||
|
Loading…
Reference in New Issue
Block a user