mageia/(open)?SUSE pkgs list done, untested. also, i am an idiot.

This commit is contained in:
2015-07-16 04:22:22 -04:00
parent 7fb7871daf
commit 6c4634a11d
5 changed files with 76 additions and 17 deletions

View File

@@ -39,6 +39,17 @@ function so_check_me_out {
exit 1
fi
## TWEAKS GO HERE. ##
# stupid gentoo. good riddance.
if [[ "${HOST_DIST}" == "Gentoo" ]];
then
grep -q 'app-arch/lzma' /etc/portage/package.accept_keywords
if [[ "${?}" != "0" ]];
then
echo 'app-arch/lzma' >> /etc/portage/package.accept_keywords
fi
fi
# So we've validated the distro. Here, check for packages and install if necessary. maybe use an array, but it'd be better to soft-fail if one of the packages is missing.
DISTRO_DIR="${BASEDIR}/lib/prereqs/${HOST_DIST}"