summarylogtreecommitdiffstats
path: root/smartsvn.install
blob: ab8ee4dadc972f0190597d3cc3c80dafb2622cff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
post_install() {
  chmod 755 /opt/smartsvn/bin/smartsvn.sh
  ln -s /opt/smartsvn/bin/smartsvn.sh /usr/bin/smartsvn

  echo "update desktop mime database..."
  update-desktop-database
  gtk-update-icon-cache -f /usr/share/icons/hicolor/
}

post_upgrade() {
	gtk-update-icon-cache -f /usr/share/icons/hicolor/
}

post_remove() {
  rm -rf /opt/smartsvn
  unlink /usr/bin/smartsvn
  update-desktop-database
  gtk-update-icon-cache -f /usr/share/icons/hicolor/
}