summarylogtreecommitdiffstats
path: root/crossover.install
diff options
context:
space:
mode:
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!"
+}