Merge pull request #2998 from lucianm/sabayon_support

supporting sabayon host distro, quite straightforward, as a flavour of gentoo
This commit is contained in:
MilhouseVH 2018-09-23 23:26:49 +01:00 committed by GitHub
commit f5083bedb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,7 @@ case "$DISTRO" in
files_pkg=(glibc-headers ncurses-devel)
perl_pkg=(perl-JSON perl-XML-parser)
;;
gentoo)
gentoo|sabayon)
deps+=(g++ mkfontscale mkfontdir bdftopcf xsltproc java python)
deps_pkg+=("gcc[cxx]" mkfontscale mkfontdir bdftopcf libxslt virtual/jre python)
files_pkg=(glibc ncurses)
@ -143,6 +143,9 @@ if [ "${#need[@]}" -gt 0 ]; then
gentoo)
get_yes_no && sudo emerge --ask --deep "${need_pkg[@]}"
;;
sabayon)
get_yes_no && sudo equo install --ask "${need_pkg[@]}"
;;
mageia)
get_yes_no && sudo urpmi "${need_pkg[@]}"
;;