From 39c4e83fbc1b274ecef81d66abed12ac9437f831 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 16 Aug 2007 22:27:01 +0200 Subject: [PATCH] Add master script to update configuration --- tools/config-pre-0.6-to-0.6.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 tools/config-pre-0.6-to-0.6.sh diff --git a/tools/config-pre-0.6-to-0.6.sh b/tools/config-pre-0.6-to-0.6.sh new file mode 100755 index 0000000..3f4c876 --- /dev/null +++ b/tools/config-pre-0.6-to-0.6.sh @@ -0,0 +1,18 @@ +#!/bin/sh +# Nico Schottelius, 20070816-2225 +# Transfer configuration to 0.6 layout +# Copying: GPLv3 +# + +if [ $# -ne 1 ]; then + echo "$0: ccollect-configuration directory" + echo "" + echo " Fix pre 0.6 configuration directories to match 0.6 style" + echo "" + exit 23 +fi + +dir="$1" +script=$(echo $0 | sed 's/\.sh$/.sub.sh/') + +find "${dir}/sources/" -name rsync_options -exec "${skript}" {} \;