Fix update_portage.sh
This commit is contained in:
parent
ab4aafbe3d
commit
d8b1829787
@ -112,10 +112,10 @@ trap "cleanup" INT TERM
|
|||||||
|
|
||||||
mount_overlay
|
mount_overlay
|
||||||
|
|
||||||
|
# End early if there are no upstream changes
|
||||||
echo 'Syncing gentoo portage tree ...'
|
echo 'Syncing gentoo portage tree ...'
|
||||||
emaint sync -r gentoo 2>/dev/null | grep -q 'You are already up to date'
|
emaint sync -r gentoo 2>/dev/null | grep -q 'You are already up to date'
|
||||||
# End early if there are no upstream changes
|
[ $? -eq 0 ] && { echo 'No upstream changes. Exiting.'; cleanup; }
|
||||||
[ $? -ne 0 ] && { echo 'No upstream changes. Exiting.'; cleanup; }
|
|
||||||
|
|
||||||
# Optional step to customize the tree, mostly to alter upstream use masks
|
# Optional step to customize the tree, mostly to alter upstream use masks
|
||||||
customize
|
customize
|
||||||
|
Loading…
Reference in New Issue
Block a user