# HG changeset patch # User Matti Hamalainen # Date 1397993287 -10800 # Node ID 22872b46eee9f5e5c9c606a49f5eb3bb2a719984 # Parent 4547a239b0fd62f699ba7a39360fae2c2192df44 Cleanup. diff -r 4547a239b0fd -r 22872b46eee9 update.sh --- a/update.sh Sun Apr 20 14:27:19 2014 +0300 +++ b/update.sh Sun Apr 20 14:28:07 2014 +0300 @@ -3,11 +3,10 @@ function createdir() { - if test ! -d "$1"; then - mkdir -p "$1" && chmod 751 "$1" - fi + test ! -d "$1" && mkdir -p "$1" && chmod 751 "$1" } + function fetch() { URLPREFIX="$1"