Added avahi for icon removal

This commit is contained in:
yenon 2022-05-20 12:06:55 +02:00
parent 732e161788
commit 7dafca2635
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,11 @@
pkgname=remove-avahi-icons
pkgver=1.0.0
pkgrel=1
pkgdesc="Remove avahi tools via pacman-hook."
arch=('any')
source=(remove-avahi-icons.hook)
sha256sums=('a48b50c813b6ee9d165b0ded74f45a4d5b3c8e7e525e555b9ee234974f5cb3dd')
package() {
install -Dm0644 -t "$pkgdir/usr/share/libalpm/hooks/" ${source[0]}
}

View File

@ -0,0 +1,9 @@
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = avahi
[Action]
Description = Removing desktop entries for avahi
When = PostTransaction
Exec = /bin/sh -c "/usr/bin/rm /usr/share/applications/avahi-discover.desktop /usr/share/applications/bssh.desktop /usr/share/applications/bvnc.desktop"