summarylogtreecommitdiffstats
path: root/perl-padre.install
blob: 7df923eb1e4e15d491382393bd95ff098f606022 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
post_install() {
    if which update-desktop-database &>/dev/null; then
    	update-desktop-database -q usr/share/applications
    fi
#    if which update-menus &>/dev/null; then
#        update-menus
#    fi
#    if which update-mime-database &>/dev/null; then
#    	update-mime-database usr/share/mime &>/dev/null
#    fi
    if which gtk-update-icon-cache &>/dev/null; then
    	gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
    fi
}

post_upgrade() {
  post_install $
}

post_remove() {
  post_install $
}