commit:     0109d7ba098e2b309cb1e40723b8c581f3a3e472
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 29 08:49:50 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Mon Sep 29 08:57:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0109d7ba

www-client/google-chrome-unstable: drop debian cron

M141 added a daily cron job to add the Chromium repository
to apt. It's useless for us (and spammy!), so purge it.

Closes: https://bugs.gentoo.org/962892
Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 ...1.0.7390.37.ebuild => google-chrome-beta-141.0.7390.37-r1.ebuild} | 5 +++++
 ...0.7432.0.ebuild => google-chrome-unstable-142.0.7432.0-r1.ebuild} | 5 +++++
 2 files changed, 10 insertions(+)

diff --git 
a/www-client/google-chrome-beta/google-chrome-beta-141.0.7390.37.ebuild 
b/www-client/google-chrome-beta/google-chrome-beta-141.0.7390.37-r1.ebuild
similarity index 91%
rename from 
www-client/google-chrome-beta/google-chrome-beta-141.0.7390.37.ebuild
rename to 
www-client/google-chrome-beta/google-chrome-beta-141.0.7390.37-r1.ebuild
index 757bf0102f17..7e7fc7f4ecc8 100644
--- a/www-client/google-chrome-beta/google-chrome-beta-141.0.7390.37.ebuild
+++ b/www-client/google-chrome-beta/google-chrome-beta-141.0.7390.37-r1.ebuild
@@ -95,6 +95,11 @@ src_install() {
 
        mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die
 
+       # Since M141 Google Chrome comes with its own bundled cron
+       # scripts which invoke `apt` directly. Useless on Gentoo!
+       rm -r etc/cron.daily || die "Failed to remove cron scripts"
+       rm -r "${CHROME_HOME}"/cron || die "Failed to remove cron scripts"
+
        gzip -d usr/share/doc/${PF}/changelog.gz || die
        gzip -d usr/share/man/man1/${MY_PN}.1.gz || die
        if [[ -L usr/share/man/man1/google-chrome.1.gz ]]; then

diff --git 
a/www-client/google-chrome-unstable/google-chrome-unstable-142.0.7432.0.ebuild 
b/www-client/google-chrome-unstable/google-chrome-unstable-142.0.7432.0-r1.ebuild
similarity index 91%
rename from 
www-client/google-chrome-unstable/google-chrome-unstable-142.0.7432.0.ebuild
rename to 
www-client/google-chrome-unstable/google-chrome-unstable-142.0.7432.0-r1.ebuild
index 757bf0102f17..7e7fc7f4ecc8 100644
--- 
a/www-client/google-chrome-unstable/google-chrome-unstable-142.0.7432.0.ebuild
+++ 
b/www-client/google-chrome-unstable/google-chrome-unstable-142.0.7432.0-r1.ebuild
@@ -95,6 +95,11 @@ src_install() {
 
        mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die
 
+       # Since M141 Google Chrome comes with its own bundled cron
+       # scripts which invoke `apt` directly. Useless on Gentoo!
+       rm -r etc/cron.daily || die "Failed to remove cron scripts"
+       rm -r "${CHROME_HOME}"/cron || die "Failed to remove cron scripts"
+
        gzip -d usr/share/doc/${PF}/changelog.gz || die
        gzip -d usr/share/man/man1/${MY_PN}.1.gz || die
        if [[ -L usr/share/man/man1/google-chrome.1.gz ]]; then

Reply via email to