Remove deactivated ftp scheme handler

https://www.chromestatus.com/feature/6246151319715840

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-01-01 14:48:41 +01:00
parent 5fffa494cc
commit 3b945b2f0e
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -51,7 +51,10 @@ package() {
install -Dm644 eula_text.html "$pkgdir"/usr/share/licenses/google-chrome/eula_text.html install -Dm644 eula_text.html "$pkgdir"/usr/share/licenses/google-chrome/eula_text.html
msg2 "Fixing Chrome icon resolution..." 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..." msg2 "Removing Debian Cron job and duplicate product logos..."
rm -r "$pkgdir"/etc/cron.daily/ "$pkgdir"/opt/google/chrome/cron/ rm -r "$pkgdir"/etc/cron.daily/ "$pkgdir"/opt/google/chrome/cron/