aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Mattila <vm@iki.fi>2009-01-25 11:15:29 +0100
committerBenedikt Böhm <bb@xnull.de>2009-01-25 11:15:29 +0100
commitacbea804ebbcf805fcdb188191645ca60ac1d30d (patch)
tree3d21a73c17e6de5b3ab1202798ca00b8f7b0c906
parentversion bump (diff)
downloadporticron-acbea804ebbcf805fcdb188191645ca60ac1d30d.tar.gz
porticron-acbea804ebbcf805fcdb188191645ca60ac1d30d.tar.bz2
porticron-acbea804ebbcf805fcdb188191645ca60ac1d30d.zip
add overlay sync support
-rwxr-xr-xbin/porticron1
-rw-r--r--etc/porticron.conf6
2 files changed, 7 insertions, 0 deletions
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"