add support for do_reposync on gentoo
This commit is contained in:
parent
9eebd56869
commit
3e3252ed48
@ -30,6 +30,9 @@ default_service_policy=ignore
|
|||||||
# do depclean on Gentoo
|
# do depclean on Gentoo
|
||||||
do_depclean=yes
|
do_depclean=yes
|
||||||
|
|
||||||
|
# do eix-sync on Gentoo
|
||||||
|
do_reposync=yes
|
||||||
|
|
||||||
# to only write to stderr when something unexpected happens or manual action is required
|
# to only write to stderr when something unexpected happens or manual action is required
|
||||||
# set stderr_loglevel to warning
|
# set stderr_loglevel to warning
|
||||||
stderr_loglevel=debug
|
stderr_loglevel=debug
|
||||||
|
@ -98,6 +98,7 @@ def pkg_upgrade():
|
|||||||
log = logging.getLogger(sau.LOGNAME)
|
log = logging.getLogger(sau.LOGNAME)
|
||||||
conf = sau.config
|
conf = sau.config
|
||||||
|
|
||||||
|
if conf.getboolean('default', 'do_reposync', fallback=True):
|
||||||
_sync_portage()
|
_sync_portage()
|
||||||
|
|
||||||
# [ebuild U ] media-plugins/alsa-plugins-1.1.8 [1.1.6]
|
# [ebuild U ] media-plugins/alsa-plugins-1.1.8 [1.1.6]
|
||||||
|
Loading…
Reference in New Issue
Block a user