2015-07-14 01:29:27 -04:00
|
|
|
NAME='Manjaro'
|
2015-07-24 04:50:51 -04:00
|
|
|
SUPPORTED='untested'
|
2015-07-15 03:26:34 -04:00
|
|
|
CHECK_METHOD='egrep "^NAME=\"Manjaro Linux\"$" /etc/os-release'
|
|
|
|
PKG_MGR='pacman -S --needed --noconfirm ${pkgname}'
|
2015-07-14 01:29:27 -04:00
|
|
|
PRE_RUN='pacman -Syyyu'
|
|
|
|
PKG_CHK='pacman -Q ${pkgname}'
|
|
|
|
URL='https://manjaro.org/'
|
2015-07-17 07:04:19 -04:00
|
|
|
|
|
|
|
function distro_specific_tweaks {
|
|
|
|
# For some reason, I can't get "yes y | " to parse correctly with eval. And Arch isn't smart enough
|
|
|
|
# to figure out that if I enable the multilib repos, *I want multilib gcc*. Fuck it. We'll just remove it first.
|
|
|
|
|
2015-07-22 22:21:57 -04:00
|
|
|
pacman -S --needed --noconfirm haveged >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
2015-07-21 15:06:28 -04:00
|
|
|
haveged
|
|
|
|
|
2015-07-17 07:04:19 -04:00
|
|
|
set +e
|
|
|
|
for pkg_override in gcc gcc-libs;
|
|
|
|
do
|
|
|
|
pacman -Q ${pkg_override} >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
|
|
|
if [[ "${?}" == "0" ]];
|
|
|
|
then
|
|
|
|
pacman -Rdd --noconfirm ${pkg_override} >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
set -e
|
|
|
|
|
|
|
|
}
|