diff options
author | Rains | 2017-03-13 21:06:14 +0800 |
---|---|---|
committer | Rains | 2017-03-13 21:06:14 +0800 |
commit | a512ecb7f23f5a41c46ed2b21d8dcd2e7db8ddc9 (patch) | |
tree | e3b3ae52694bdfff5e2190c84ebbbb27e4b30b40 /vmware-patch.sh | |
parent | 26132fd04f480258b12357a14cc6f5dda14ada65 (diff) | |
download | aur-a512ecb7f23f5a41c46ed2b21d8dcd2e7db8ddc9.tar.gz |
add support for 12.5.3
Diffstat (limited to 'vmware-patch.sh')
-rw-r--r-- | vmware-patch.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vmware-patch.sh b/vmware-patch.sh index d1463633c4fc..9a55cae44856 100644 --- a/vmware-patch.sh +++ b/vmware-patch.sh @@ -62,11 +62,11 @@ vmware_check set_product_name # Use VMware's bundled libcurl.so.4 to prevent crashes at startup/checking for updates -if [[ $ver != 12.* ]]; then - for script in vmware vmplayer; do +if [[ $ver != 13.* ]]; then + for script in vmware vmplayer vmware-netcfg; do if [[ -f /usr/bin/$script ]]; then if ! grep -q "libcurl" /usr/bin/$script; then - sed '/$vmmon/a\ export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libcurl.so.4' \ + sed '/export PRODUCT_NAME/aexport LD_LIBRARY_PATH=/usr/lib/vmware/lib/libcurl.so.4:$LD_LIBRARY_PATH' \ -i /usr/bin/$script fi fi |