summaryrefslogtreecommitdiffstats
path: root/transmission-remote-gtk/transmission-remote-gtk.install
blob: 22f013315c65c85ce4d08476c6c6416ba1958eb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
post_install() {
  update-desktop-database -q
  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}

pre_upgrade() {
    if [ -f usr/share/gconf/schemas/transmission-remote-gtk.schemas ]; then
        usr/sbin/gconfpkg --uninstall transmission-remote-gtk
    fi
}

post_upgrade() {
  post_install
}

post_remove() {
  update-desktop-database -q
  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor 
}