2015-07-14 01:29:27 -04:00
|
|
|
NAME='Gentoo'
|
2015-08-27 20:57:45 -04:00
|
|
|
SUPPORTED='yes'
|
2015-07-14 01:29:27 -04:00
|
|
|
CHECK_METHOD='egrep "^Gentoo\ Base\ System" /etc/gentoo-release'
|
2015-07-16 04:07:31 -04:00
|
|
|
PKG_MGR='emerge -q1Dn ${pkgname}'
|
2015-07-14 01:29:27 -04:00
|
|
|
PRE_RUN='emerge -q --sync'
|
|
|
|
PKG_CHK='emerge -qp @installed 2>/dev/null | egrep -E "/${pkgname}-[0-9.]+"'
|
|
|
|
URL='https://www.gentoo.org/'
|
2015-07-17 07:04:19 -04:00
|
|
|
|
|
|
|
function distro_specific_tweaks {
|
|
|
|
# WHY IS THIS EVEN MASKED?!
|
|
|
|
|
|
|
|
set +e
|
|
|
|
grep -q 'app-arch/lzma' /etc/portage/package.accept_keywords
|
|
|
|
if [[ "${?}" != "0" ]];
|
|
|
|
then
|
|
|
|
echo 'app-arch/lzma' >> /etc/portage/package.accept_keywords
|
|
|
|
fi
|
|
|
|
set -e
|
|
|
|
|
|
|
|
}
|