summarylogtreecommitdiffstats
path: root/pt.install
diff options
context:
space:
mode:
authorrunnytu2015-06-09 20:22:47 +0200
committerrunnytu2015-06-09 20:22:47 +0200
commit60461d5490d798cda2a5412a989e0f5930dff49d (patch)
treee364ab0586bd5bf247a5e9233bc2e9da8002aca6 /pt.install
downloadaur-60461d5490d798cda2a5412a989e0f5930dff49d.tar.gz
Initial import
Diffstat (limited to 'pt.install')
-rw-r--r--pt.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/pt.install b/pt.install
new file mode 100644
index 000000000000..73eda9704808
--- /dev/null
+++ b/pt.install
@@ -0,0 +1,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
+}
+