microsoft-edge-stable-bin: drop the Debian cron job

The deb's /etc/cron.daily/microsoft-edge runs a script that writes an
apt keyring to /usr/share/keyrings every day. pacman doesn't track that
file, so it stays behind after Edge is removed. Remove the cron job and
its script the way the Chrome recipe already does, and skip the empty
/etc left behind. pkgrel 2 so this build replaces AUR-installed copies.

Found in a Codex review.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
David Heinemeier HanssonandClaude Opus 5.5 committed 2026-09-26 16:53:24 -04:00
1 parent 1299a82d79
commit 41e6307d03
1 file changed
+7 -2
+7 -2
View File
@@ -11,7 +11,7 @@ _pkgname=microsoft-edge
_pkgshortname=msedge
_channel=stable
pkgver=154.0.4258.37
pkgrel=1
pkgrel=2
pkgdesc="A browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier"
arch=('x86_64')
url="https://www.microsoftedgeinsider.com/en-us/download"
@@ -29,7 +29,7 @@ optdepends=(
'ttf-liberation: fix fonts for some PDFs - CRBug #369991'
'xdg-utils'
)
options=(!strip !zipman)
options=(!strip !zipman !emptydirs)
source=("https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/${_pkgname}-${_channel}_${pkgver}-1_amd64.deb"
"microsoft-edge-stable.sh"
"Microsoft Standard Application License Terms - Standalone (free) Use Terms.pdf")
@@ -66,4 +66,9 @@ package() {
# License
install -Dm644 'Microsoft Standard Application License Terms - Standalone (free) Use Terms.pdf' "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE.pdf"
rm "${pkgdir}/opt/microsoft/${_pkgshortname}"/product_logo_*.png
# Remove the Debian cron job, which installs an apt keyring pacman doesn't track
rm -r \
"${pkgdir}/etc/cron.daily/" \
"${pkgdir}/opt/microsoft/${_pkgshortname}/cron/"
}