diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2016-06-04 11:39:40 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2016-06-04 11:39:40 +0200 |
commit | 00221fad40b931bbab7d3f8b15731453c671fff0 (patch) | |
tree | 1ed491c6423fabc20eb44d7ee89e6f24379f6408 /update_latest.sh | |
parent | c0716886d8de04c05abd07c89d3b3bb460da1db7 (diff) | |
download | youtube-dl-00221fad40b931bbab7d3f8b15731453c671fff0.tar.gz youtube-dl-00221fad40b931bbab7d3f8b15731453c671fff0.tar.xz youtube-dl-00221fad40b931bbab7d3f8b15731453c671fff0.zip |
add better rewrite rules
Diffstat (limited to 'update_latest.sh')
-rwxr-xr-x | update_latest.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/update_latest.sh b/update_latest.sh index b2382aa6a..0144c7c44 100755 --- a/update_latest.sh +++ b/update_latest.sh @@ -11,4 +11,5 @@ fi cd "$(dirname $(readlink -f $0))" echo -n "$version" > latest_version -/bin/echo -e "RewriteEngine On\nRewriteRule ^(.*)$ /downloads/latest/$1 [L,R=302]" > latest/.htaccess +ln -sf downloads/latest downloads/$1 + |