updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / smartgit-ea / smartgit.install
blob21b7404ce61dbb7fdee5145dca6756d07df02aa2
1 post_install() {
2   chmod 755 /opt/smartgit/bin/smartgit.sh
3   ln -s /opt/smartgit/bin/smartgit.sh /usr/bin/smartgit
5   echo "update desktop mime database..."
6   update-desktop-database
7   gtk-update-icon-cache -f /usr/share/icons/hicolor/
10 post_upgrade() {
11         gtk-update-icon-cache -f /usr/share/icons/hicolor/
14 post_remove() {
15   rm -rf /opt/smartgit
16   unlink /usr/bin/smartgit
17   update-desktop-database
18   gtk-update-icon-cache -f /usr/share/icons/hicolor/