summarylogtreecommitdiffstats
path: root/sandforce-updater.install
blob: 068d0778638e54779393f991f18d8839189c266b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
post_install() {
  update-desktop-database -q
  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor

  # Fix QT shared library depends
  if [ ! -f "/usr/lib/libqgif.so" ];
  then ln -s /usr/lib/qt/plugins/imageformats/libqgif.so /usr/lib/libqgif.so
  fi
  if [ ! -f "/usr/lib/libqico.so" ];
  then ln -s /usr/lib/qt/plugins/imageformats/libqico.so /usr/lib/libqico.so
  fi
}

post_upgrade() {
  post_install $1
}

post_remove() {
  post_install $1
}