From 54a1852f0802347277a0f7eb0613591da0660479 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Wed, 30 Apr 2014 10:39:23 +0200 Subject: Add a redirect for downloads/latest --- update_latest.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3