aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Böhm <bb@xnull.de>2009-10-03 09:57:55 +0200
committerBenedikt Böhm <bb@xnull.de>2009-10-03 09:57:55 +0200
commit3ff8a16453cf11f88e8937c7c651e2d49fe97039 (patch)
tree9d04a97d42771daea3308d9ae1f343abfb20db84
parentimplement command line arguments for verbose, nomail and config file (diff)
downloadporticron-3ff8a16453cf11f88e8937c7c651e2d49fe97039.tar.gz
porticron-3ff8a16453cf11f88e8937c7c651e2d49fe97039.tar.bz2
porticron-3ff8a16453cf11f88e8937c7c651e2d49fe97039.zip
run emerge once to perform global updates while not cluttering mail output
-rwxr-xr-xbin/porticron4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/porticron b/bin/porticron
index 3e85e6c..dc2b8f6 100755
--- a/bin/porticron
+++ b/bin/porticron
@@ -78,6 +78,10 @@ log "running SYNC_OVERLAY_CMD: ${SYNC_OVERLAYS_CMD:-/bin/true}"
${SYNC_OVERLAYS_CMD:-/bin/true} &>/dev/null
+# run emerge once to perform global updates while not cluttering mail output
+/usr/bin/emerge --info &>/dev/null
+
+
# GLSA check
log "running GLSA_AFFECTED: /usr/bin/glsa-check --test --verbose affected"
GLSA_AFFECTED=$(/usr/bin/glsa-check --test --verbose affected 2>/dev/null)