update: docdoc
authorTero Marttila <terom@paivola.fi>
Tue, 20 Mar 2012 14:15:22 +0200
changeset 577 b474e2e6f54e
parent 576 638b8cdb5a80
child 578 a2d87cfd77e4
update: docdoc
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