summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xupdate_latest.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/update_latest.sh b/update_latest.sh
index 45122a68d..834f8f814 100755
--- a/update_latest.sh
+++ b/update_latest.sh
@@ -16,5 +16,7 @@ for f in $(ls "downloads/$version/"); do \
 done
 
 ln -sf --no-target-directory "$version" "downloads/latest"
+/bin/echo -e "RewriteEngine On\nRewriteRule latest(.*) /downloads/${version}\$1 [L,R=302]" > .htaccess
+
 echo -n "$version" > latest/version