gentooup.sh: do not clutter up world file
This commit is contained in:
parent
6f58727102
commit
0bbe208532
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ if [[ "$(grep -c gentoo-sources /var/lib/portage/world)" -gt 2 ]] ; then
|
||||||
echo too many kernelversion in world file!
|
echo too many kernelversion in world file!
|
||||||
grep gentoo-source /var/lib/portage/world
|
grep gentoo-source /var/lib/portage/world
|
||||||
fi
|
fi
|
||||||
|
emerge "${PORTAGE_OPTIONS[@]}" --deselect gentoo-sources:"${CURRENTKERNELVERSION/"-gentoo"/}"
|
||||||
|
|
||||||
if [[ -n "$(which restart_services)" ]] ; then
|
if [[ -n "$(which restart_services)" ]] ; then
|
||||||
restart_services -l
|
restart_services -l
|
||||||
|
|
Loading…
Add table
Reference in a new issue