updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / codelite-x86_64 / codelite.install
blob8b6e4eb3f51e6c444fc87b0b3bb2e35f7d770376
1 #!/bin/bash
3 available() {
4 which "$1" >/dev/null 2>&1
7 post_install() {
8 update-mime-database /usr/share/mime >/dev/null
9 update-desktop-database -q /usr/share/applications
11 if available xdg-icon-resource; then
12 xdg-icon-resource forceupdate --theme hicolor &> /dev/null
15 if available gtk-update-icon-cache; then
16 gtk-update-icon-cache -q /usr/share/icons/hicolor
20 post_remove() {
21 post_install