From b239a76f518076fe466b1d3d57db9252696e39a1 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 cb22e1d..80c069a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -52,7 +52,10 @@ package() { install -Dm644 eula_text.html "$pkgdir"/usr/share/licenses/google-chrome-$_channel/eula_text.html msg2 "Fixing Chrome icon resolution..." - sed -i "/Exec=/i\StartupWMClass=Google-chrome-$_channel" "$pkgdir"/usr/share/applications/google-chrome-$_channel.desktop + sed -i \ + -e "/Exec=/i\StartupWMClass=Google-chrome-$_channel" \ + -e "s/x-scheme-handler\/ftp;\?//g" \ + "$pkgdir"/usr/share/applications/google-chrome-$_channel.desktop msg2 "Removing Debian Cron job and duplicate product logos..." rm -r "$pkgdir"/etc/cron.daily/ "$pkgdir"/opt/google/chrome-$_channel/cron/