diff options
author | Mohammad Hadi Latifi | 2019-07-24 18:57:44 +0430 |
---|---|---|
committer | Mohammad Hadi Latifi | 2019-07-24 18:57:44 +0430 |
commit | 55ffe5177df9fcfc1f2ce0cb7d080c9300c30e2c (patch) | |
tree | 5b0bdd475acabaa79af8994e8df7ffa0d5808044 /balonet.install | |
download | aur-55ffe5177df9fcfc1f2ce0cb7d080c9300c30e2c.tar.gz |
Initial commit. Adds balonet 2.5.4.
Diffstat (limited to 'balonet.install')
-rw-r--r-- | balonet.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/balonet.install b/balonet.install new file mode 100644 index 000000000000..7fccc4477c5b --- /dev/null +++ b/balonet.install @@ -0,0 +1,19 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + + # Link to the binary + ln -sf '/opt/balonet/balonet' '/usr/bin/balonet' + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + + # Delete the link to the binary + rm -f '/usr/bin/balonet' + update-desktop-database -q +} |