diff options
author | runnytu | 2015-06-09 20:22:47 +0200 |
---|---|---|
committer | runnytu | 2015-06-09 20:22:47 +0200 |
commit | 60461d5490d798cda2a5412a989e0f5930dff49d (patch) | |
tree | e364ab0586bd5bf247a5e9233bc2e9da8002aca6 /pt.install | |
download | aur-60461d5490d798cda2a5412a989e0f5930dff49d.tar.gz |
Initial import
Diffstat (limited to 'pt.install')
-rw-r--r-- | pt.install | 20 |
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 +} + |