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@gentoo.org>
This commit is contained in:
Matt Jolly
2025-09-29 18:49:50 +10:00
parent 0eddebd122
commit 0109d7ba09
2 changed files with 10 additions and 0 deletions

View File

@@ -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

View File

@@ -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