From acbea804ebbcf805fcdb188191645ca60ac1d30d Mon Sep 17 00:00:00 2001 From: Ville Mattila Date: Sun, 25 Jan 2009 11:15:29 +0100 Subject: add overlay sync support --- bin/porticron | 1 + etc/porticron.conf | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/bin/porticron b/bin/porticron index a9ff56c..3a1c0bb 100755 --- a/bin/porticron +++ b/bin/porticron @@ -19,6 +19,7 @@ PORTDIR=$(portageq portdir) # sync if desired ${SYNC_CMD:-/usr/bin/emerge --sync} &>/dev/null +${SYNC_OVERLAYS_CMD:-/bin/true} &>/dev/null # build a list of changed ebuilds diff --git a/etc/porticron.conf b/etc/porticron.conf index fb9b938..646c689 100644 --- a/etc/porticron.conf +++ b/etc/porticron.conf @@ -7,6 +7,12 @@ SYNC_CMD="/usr/bin/emerge --sync" # do not synchronize (e.g. if PORTDIR is mounted read-only) #SYNC_CMD="/bin/true" +# use layman for synchronizing overlays +#SYNC_OVERLAYS_CMD="/usr/bin/layman --sync-all" + +# do not synchronize overlays +SYNC_OVERLAYS_CMD="/bin/true" + # include a report of changed ebuilds #DIFF_CMD="/usr/bin/eix-sync -d" -- cgit v1.2.3-65-gdbad