diff options
Diffstat (limited to '.INSTALL')
-rw-r--r-- | .INSTALL | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.INSTALL b/.INSTALL new file mode 100644 index 000000000000..3893ca5c4bc4 --- /dev/null +++ b/.INSTALL @@ -0,0 +1,24 @@ +_update() { + update-desktop-database -q + + xdg-icon-resource forceupdate --theme hicolor &>/dev/null + + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + + ln -sf /opt/whatsie/whatsie /usr/bin/whatsie +} + +post_install() { + _update +} + +post_upgrade() { + post_install +} + +post_remove() { + # Delete the link to the binary + rm -f /usr/bin/whatsie + + _update +} |