commit: 25d173ae900cb25661f28092995cee221d2f7be2 Author: Jesus P Rey (Chuso) <gentoo <AT> chuso <DOT> net> AuthorDate: Thu Sep 24 09:21:18 2020 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Thu Nov 5 01:52:09 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25d173ae
www-apps/cgit: Add missing escape characters in postinst message. Signed-off-by: Jesus P Rey <gentoo <AT> chuso.net> Closes: https://bugs.gentoo.org/700402 Closes: https://github.com/gentoo/gentoo/pull/17649 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> www-apps/cgit/files/postinstall-en.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www-apps/cgit/files/postinstall-en.txt b/www-apps/cgit/files/postinstall-en.txt index b164123f019..f7c5c8cfae9 100644 --- a/www-apps/cgit/files/postinstall-en.txt +++ b/www-apps/cgit/files/postinstall-en.txt @@ -29,9 +29,9 @@ rewrite rules to your <snip> RewriteEngine On # Redirect all non-existant urls to cgit - RewriteCond %{REQUEST_FILENAME} !-f - RewriteCond %{REQUEST_FILENAME} !-d - RewriteRule ^.* /cgi-bin/cgit.cgi/$0 [L,PT] + RewriteCond %%{REQUEST_FILENAME} !-f + RewriteCond %%{REQUEST_FILENAME} !-d + RewriteRule ^.* /cgi-bin/cgit.cgi/\$0 [L,PT] # Redirect the empty url to cgit RewriteRule ^$ /cgi-bin/cgit.cgi/ [L,PT]