Add -x to allowed rsync parameteres due to jessie
authorPeter Palfrader <peter@palfrader.org>
Sat, 2 May 2015 10:10:54 +0000 (12:10 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sat, 2 May 2015 10:12:35 +0000 (12:12 +0200)
modules/roles/files/static-mirroring/staticsync-ssh-wrap

index 2858f4d..300f543 100755 (executable)
@@ -105,7 +105,8 @@ do_rsync_on_source() {
 
        if [ -e "$COMPONENTLIST" ]; then
                for path in $(awk -v host="$(hostname -f)" '!/^ *(#|$)/ && $3 == host {print $4}' $COMPONENTLIST); do
-                       allowed_rsyncs+=("--server --sender -lHtrze.iLsf --safe-links . $path/.")
+                       allowed_rsyncs+=("--server --sender -lHtrze.iLsf --safe-links . $path/.") # wheezy
+                       allowed_rsyncs+=("--server --sender -lHtrze.iLsfx --safe-links . $path/.") # jessie
                done
        fi
        for cmd_idx in ${!allowed_rsyncs[*]}; do