#/bin/sh . $(dirname $0)/settings.sh DIR="$REPO" if [ -n "$1" -a -d "$1" ]; then DIR="$1" fi # update symlinks (needed for repo validation) ln -sf "$REAL/Probes/probed.xml" "$DIR/Probes/probed.xml" ln -sf "$REAL/Properties/secrets.xml" "$DIR/Properties/secrets.xml" # update directory symlinks (with --no-dereference) ln -sfn "$REAL/Packages/cache" "$DIR/Packages/cache" ln -sfn "$REAL/SSL/private" "$DIR/SSL/private"