summaryrefslogtreecommitdiff
path: root/pcr/gloobus-preview-bzr/gloobus-preview-bzr.install
blob: 63031e5bea52789cb6c8fbbbf8fd1ded61413bb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
post_install() {
  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
  update-desktop-database -q

  echo ">>> To use GP instead of GNOME Sushi with Nautilus 3.x install gloobus-sushi-bzr."
  echo ""
  echo ">>> To use GP with marlin:"
  echo '>>>  $ gsettings set org.gnome.marlin.preferences previewer-path "'gloobus-preview'"'
  echo ""
  echo ">>> To use GP with nautilus-actions:"
  echo ">>>  Label: Quicklook"
  echo ">>>  Path: gloobus-preview"
  echo ">>>  Parameters: %f"
  echo ""
  echo ">>> For more info: http://gloobus.net/"
  echo ">>> IRC channel: #gloobus @ irc.freenode.net"
}

post_upgrade() {
  post_install "$1"
}

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

# vim:set ts=2 sw=2 et: