www-apps/rutorrent: Remove broken .htaccess file on install of 3.8
authorStephen Shkardoon <ss23@ss23.geek.nz>
Wed, 10 Jan 2018 14:11:53 +0000 (03:11 +1300)
committerMichael Palimaka <kensington@gentoo.org>
Thu, 11 Jan 2018 05:33:39 +0000 (16:33 +1100)
This removes the broken .htaccess that is part of the release archive.
Removing this file matches the previous behaviour of the rutorrent
ebuild (when the release contained no .htaccess file there).

Closes: https://github.com/gentoo/gentoo/pull/6818
Package-Manager: Portage-2.3.13, Repoman-2.3.3

www-apps/rutorrent/rutorrent-3.8-r1.ebuild [moved from www-apps/rutorrent/rutorrent-3.8.ebuild with 91% similarity]

similarity index 91%
rename from www-apps/rutorrent/rutorrent-3.8.ebuild
rename to www-apps/rutorrent/rutorrent-3.8-r1.ebuild
index 06d1d6b36e7f9494c0d0d51bfe6ca9924047ca6e..a45b892d76492bad4efbd41d5209b0d82a236430 100644 (file)
@@ -29,6 +29,8 @@ pkg_setup() {
 src_prepare() {
        default
        find -name '\.gitignore' -type f -exec rm -rf {} \;
+       # The 3.8 release of ruTorrent includes an .htaccess file that defines a .htpasswd that doesn't exist
+       rm '.htaccess'
 }
 
 src_install() {