From 40c2053e7c3e7343b690384f123410d0aa18d9b7 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 14 Nov 2012 02:24:02 +0100 Subject: prepare-repository: add global script for creating synlinks --- renew-config | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'renew-config') diff --git a/renew-config b/renew-config index 4743b0f..a7e8314 100755 --- a/renew-config +++ b/renew-config @@ -17,10 +17,7 @@ if [ -n "$(git rev-list HEAD..origin/master)" ]; then fi # update symlinks (needed for repo validation) -ln -s -f "$REAL/Metadata/pingdata.xml" Metadata/pingdata.xml -ln -s -f "$REAL/Packages/cache" Packages/cache -ln -s -f "$REAL/Probes/probed.xml" Probes/probed.xml -ln -s -f "$REAL/Properties/secrets.xml" Properties/secrets.xml +$(dirname $0)/prepare-repository if ! bcfg2-lint -Q "$REPO"; then error "$REPO: bcfg2-lint detected errors." -- cgit v1.2.3-1-g7c22