# HG changeset patch # User Tero Marttila # Date 1332245722 -7200 # Node ID b474e2e6f54e6d0a1ce003cbb64bc259c4bd1481 # Parent 638b8cdb5a801cca93bf4a684c243049e3ee667d update: docdoc diff -r 638b8cdb5a80 -r b474e2e6f54e bin/update --- a/bin/update Tue Mar 20 14:12:30 2012 +0200 +++ b/bin/update Tue Mar 20 14:15:22 2012 +0200 @@ -21,7 +21,7 @@ # code root CODE=$(dirname $BIN) - +# library code LIB=$CODE/lib ## Data paths @@ -63,7 +63,7 @@ # Dependency-based updates source $LIB/update.updates -# Operations +# Operations; the functions called from run() source $LIB/update.operations @@ -86,7 +86,9 @@ # List of actual domains used; will be linked to $DOMAIN_BASE DOMAINS=(paivola.fi paivola.net paivola.org paivola.info paivola.mobi xn--pivl-load8j.fi) + ## Operate! +# these functions are all defined in lib/update.operations function run { ## Hosts # test