summarylogtreecommitdiffstats
path: root/texturepacker.install
diff options
context:
space:
mode:
Diffstat (limited to 'texturepacker.install')
-rw-r--r--texturepacker.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/texturepacker.install b/texturepacker.install
new file mode 100644
index 000000000000..007e4b662a18
--- /dev/null
+++ b/texturepacker.install
@@ -0,0 +1,18 @@
+post_install() {
+ update-mime-database usr/share/mime
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ echo "You must accept the terms of the EULA before using TexturePacker!"
+ echo "Can be found in /usr/share/licenses/texturepacker/LicenseAgreement.html"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ update-mime-database usr/share/mime
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+