summarylogtreecommitdiffstats
path: root/crossover.install
diff options
context:
space:
mode:
authorWilliam Overstreet2015-06-25 15:21:40 -0400
committerWilliam Overstreet2015-06-25 15:21:40 -0400
commit4490bd51d00a3e57c4dcb03efa22c564dc568dbe (patch)
tree76bad8678b5b880955262841f58afb7587d820ab /crossover.install
downloadaur-4490bd51d00a3e57c4dcb03efa22c564dc568dbe.tar.gz
Initial import
Diffstat (limited to 'crossover.install')
-rw-r--r--crossover.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/crossover.install b/crossover.install
new file mode 100644
index 000000000000..1d261ef26882
--- /dev/null
+++ b/crossover.install
@@ -0,0 +1,22 @@
+post_install() {
+ echo "Creating menus and file associations, please wait..."
+ /opt/cxoffice/bin/cxmenu --crossover --install
+ /opt/cxoffice/bin/cxassoc --crossover --install
+ echo "Done!"
+ echo
+ echo "This is the demo version, to fully activate it you must have a valid serial and register it."
+ echo "More information about this process here:"
+ echo "http://www.codeweavers.com/support/docs/crossover-linux/demo"
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ echo "Removing menus and file associations, please wait..."
+ /opt/cxoffice/bin/cxmenu --crossover --uninstall
+ /opt/cxoffice/bin/cxassoc --crossover --uninstall
+ rm -f /usr/local/share/icons/hicolor/*x*/apps/cxmenu-*.png
+ echo "Done!"
+}