gentooup.sh: fix syntax error
This commit is contained in:
parent
d3b13acdcb
commit
ec61cc2b95
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ echo Started at "$STARTDATE"
|
|||
CURRENTKERNELVERSION="$(uname -r)"
|
||||
emerge --no-replace gentoo-sources:"${CURRENTKERNELVERSION/"-gentoo"/}"
|
||||
emerge -a "${PORTAGE_OPTIONS[@]}" --depclean
|
||||
if [[ "$(grep -c gentoo-sources /var/lib/portage/world)" gt 2 ]] ; then
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue