diff options
author | Jason van Zyl <jvanzyl@apache.org> | 2006-10-11 22:19:42 +0000 |
---|---|---|
committer | Jason van Zyl <jvanzyl@apache.org> | 2006-10-11 22:19:42 +0000 |
commit | 39819a074ceffd6b4f31e5ef3692f8f4a7fca3d2 (patch) | |
tree | f8b91e78db57c5ef1c09ddb8d8485b8715d69f85 /maven-meeper/src/bin/synchronize.sh | |
parent | 92b7375f66b6cda876f605740e9cc6e53374b83e (diff) | |
download | archiva-39819a074ceffd6b4f31e5ef3692f8f4a7fca3d2.tar.gz archiva-39819a074ceffd6b4f31e5ef3692f8f4a7fca3d2.zip |
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@463003 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'maven-meeper/src/bin/synchronize.sh')
-rwxr-xr-x | maven-meeper/src/bin/synchronize.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/maven-meeper/src/bin/synchronize.sh b/maven-meeper/src/bin/synchronize.sh index 87dd4e1e9..f6a6de401 100755 --- a/maven-meeper/src/bin/synchronize.sh +++ b/maven-meeper/src/bin/synchronize.sh @@ -5,6 +5,7 @@ # 2. Convert Maven 1.x repository to Maven 2.x repository # 3. Manual fixes # 4. Sync the Maven 2.x repository to Ibiblio +# 5. Copy the mod_rewrite rules to the Maven 2.x repository # ------------------------------------------------------------------------ PID=$$ @@ -65,3 +66,13 @@ echo Synchronizing to ibiblio ) retval=$?; if [ $retval != 0 ]; then exit $retval; fi +# ------------------------------------------------------------------------ +# Copy the mod_rewrite rules to the Maven 1.x repository +# ------------------------------------------------------------------------ +if [ "hostname" == $CENTRAL_HOST ]; then + cp $M1_M2_REWRITE_RULES $HOME/repository-staging/to-ibiblio/maven/.htaccess +else + scp $M1_M2_REWRITE_RULES maven@maven.org:~maven/repository-staging/to-ibiblio/maven/.htaccess +fi + +scp $M1_M2_REWRITE_RULES maven@login.ibiblio.org:/public/html/maven/.htaccess |