gentooup.sh: do not clutter up world file

This commit is contained in:
layman 2019-05-04 14:55:00 +02:00
parent 6f58727102
commit 0bbe208532

View file

@ -126,7 +126,7 @@ if [[ "$(grep -c gentoo-sources /var/lib/portage/world)" -gt 2 ]] ; then
echo too many kernelversion in world file!
grep gentoo-source /var/lib/portage/world
fi
emerge "${PORTAGE_OPTIONS[@]}" --deselect gentoo-sources:"${CURRENTKERNELVERSION/"-gentoo"/}"
if [[ -n "$(which restart_services)" ]] ; then
restart_services -l