diff options
Diffstat (limited to 'physicseditor.install')
-rw-r--r-- | physicseditor.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/physicseditor.install b/physicseditor.install new file mode 100644 index 000000000000..21f9c6cadcbe --- /dev/null +++ b/physicseditor.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 PhysicsEditor!" + echo "Can be found in /usr/share/licenses/physicseditor/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 +} + |