summaryrefslogtreecommitdiffstats
path: root/renew-config
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-11-14 02:24:02 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2012-11-14 02:24:36 +0100
commit40c2053e7c3e7343b690384f123410d0aa18d9b7 (patch)
tree03ebf7dc9058a4cbda3fd9e0032822a837ab4d81 /renew-config
parent99d0636a5aeacab1feecdb85935e4d6932d24fff (diff)
downloadbcfg2-tools-40c2053e7c3e7343b690384f123410d0aa18d9b7.tar.gz
bcfg2-tools-40c2053e7c3e7343b690384f123410d0aa18d9b7.tar.bz2
bcfg2-tools-40c2053e7c3e7343b690384f123410d0aa18d9b7.zip
prepare-repository: add global script for creating synlinks
Diffstat (limited to 'renew-config')
-rwxr-xr-xrenew-config5
1 files changed, 1 insertions, 4 deletions
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."