summarylogtreecommitdiffstats
path: root/pt.install
blob: 73eda97048084e93415eac0be79cc8936681852d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
packtracer_update_cache_database() {
  gtk-update-icon-cache -f -q /usr/share/icons/hicolor
  update-desktop-database -q
  update-mime-database /usr/share/mime
}

post_install() {
  packtracer_update_cache_database
  echo "### NOTICE ###"
  echo "Please read the EULA at /usr/share/licenses/packettracer/eula.txt and uninstall if you do not agree."
}

post_upgrade() {
  packtracer_update_cache_database
}

post_remove() {
  packtracer_update_cache_database
}