summaryrefslogtreecommitdiff
path: root/libre/gloobus-preview/gloobus-preview.install
blob: 2d22800d7d380a4214b2c778f44eee69050cccc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
post_install() {
  xdg-icon-resource forceupdate
}

post_upgrade() {
  post_install $1

  if [ "$(vercmp 0.4.5.333-1 "$2")" -eq 1 ]; then
    gdk-pixbuf-query-loaders --update-cache
  fi
}

post_remove() {
  post_install $1
}