Restructure removals, add menu directory

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-04-21 19:22:39 +02:00
parent bbf5452b61
commit 334c1a513b
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -56,7 +56,10 @@ package() {
-e "s/x-scheme-handler\/ftp;\?//g" \ -e "s/x-scheme-handler\/ftp;\?//g" \
"$pkgdir"/usr/share/applications/google-chrome-$_channel.desktop "$pkgdir"/usr/share/applications/google-chrome-$_channel.desktop
msg2 "Removing Debian Cron job and duplicate product logos..." echo " -> Removing Debian Cron job, duplicate product logos and menu directory..."
rm -r "$pkgdir"/etc/cron.daily/ "$pkgdir"/opt/google/chrome-$_channel/cron/ rm -r \
rm "$pkgdir"/opt/google/chrome-$_channel/product_logo_*.png "$pkgdir"/etc/cron.daily/ \
"$pkgdir"/opt/google/chrome-$_channel/cron/ \
"$pkgdir"/opt/google/chrome-$_channel/product_logo_*.{png,xpm} \
"$pkgdir"/usr/share/menu/
} }