diff options
author | Erik Fleischer | 2017-11-08 16:31:30 +0100 |
---|---|---|
committer | Erik Fleischer | 2017-11-08 16:31:30 +0100 |
commit | 013f5119d9c246a0a36c2820e857cd0bffcb4c03 (patch) | |
tree | f72b532cc1ab6e441a6bcb3b0285bdb4771895bf | |
parent | 8fed991f696ef3ebceca02a2565b80f871dcee94 (diff) | |
download | aur-013f5119d9c246a0a36c2820e857cd0bffcb4c03.tar.gz |
Fix wineserver link on i686.
-rw-r--r-- | crossover.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crossover.install b/crossover.install index 1d261ef26882..a1cad6c5aee3 100644 --- a/crossover.install +++ b/crossover.install @@ -1,4 +1,16 @@ post_install() { + + echo updating wineserver link + + CX_ROOT="/opt/cxoffice" + rm "$CX_ROOT/bin/wineserver" + if "$CX_ROOT/bin/wineserver64" -v >/dev/null 2>/dev/null + then + ln -s wineserver64 "$CX_ROOT/bin/wineserver" + else + ln -s wineserver32 "$CX_ROOT/bin/wineserver" + fi + echo "Creating menus and file associations, please wait..." /opt/cxoffice/bin/cxmenu --crossover --install /opt/cxoffice/bin/cxassoc --crossover --install |