From 3b945b2f0e4226b0d40c4731661b059e413f5698 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 1 Jan 2021 14:48:41 +0100 Subject: [PATCH] Remove deactivated ftp scheme handler https://www.chromestatus.com/feature/6246151319715840 Signed-off-by: Knut Ahlers --- PKGBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index abc83ab..7c4b68e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -51,7 +51,10 @@ package() { install -Dm644 eula_text.html "$pkgdir"/usr/share/licenses/google-chrome/eula_text.html msg2 "Fixing Chrome icon resolution..." - sed -i "/Exec=/i\StartupWMClass=Google-chrome" "$pkgdir"/usr/share/applications/google-chrome.desktop + sed -i \ + -e "/Exec=/i\StartupWMClass=Google-chrome" \ + -e "s/x-scheme-handler\/ftp;\?//g" \ + "$pkgdir"/usr/share/applications/google-chrome.desktop msg2 "Removing Debian Cron job and duplicate product logos..." rm -r "$pkgdir"/etc/cron.daily/ "$pkgdir"/opt/google/chrome/cron/