www-client/opera: Remove opera_autoupdate
authorJeroen Roovers <jer@gentoo.org>
Thu, 9 May 2019 06:52:01 +0000 (08:52 +0200)
committerJeroen Roovers <jer@gentoo.org>
Thu, 9 May 2019 06:52:44 +0000 (08:52 +0200)
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=685380
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
www-client/opera/opera-60.0.3255.83-r1.ebuild [moved from www-client/opera/opera-60.0.3255.83.ebuild with 93% similarity]

similarity index 93%
rename from www-client/opera/opera-60.0.3255.83.ebuild
rename to www-client/opera/opera-60.0.3255.83-r1.ebuild
index 72f8b6bbb496d3555689568c9436be6bdfe1aae2..fbf25ee7c636cf8e50066d298a9c373db594df8a 100644 (file)
@@ -82,7 +82,7 @@ src_prepare() {
        mv usr/share/doc/${PN}-stable usr/share/doc/${PF} || die
        gunzip usr/share/doc/${PF}/changelog.gz || die
 
-       pushd "${OPERA_HOME}/localization" > /dev/null || die
+       pushd "${OPERA_HOME}"/localization > /dev/null || die
        chromium_remove_language_paks
        popd > /dev/null || die
 
@@ -92,9 +92,10 @@ src_prepare() {
 }
 
 src_install() {
+       rm "${OPERA_HOME}"/${PN}_autoupdate || die
        mv * "${D}" || die
        dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN}
-       fperms 4711 /usr/$(get_libdir)/${PN}/opera_sandbox
+       fperms 4711 /"${OPERA_HOME}"/opera_sandbox
 }
 
 pkg_postrm() {