--- 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