Accepting request 260570 from home:Ledest:misc
fix bashisms in preun script OBS-URL: https://build.opensuse.org/request/show/260570 OBS-URL: https://build.opensuse.org/package/show/Virtualization:VMware/open-vm-tools?expand=0&rev=266
This commit is contained in:
parent
cda7785e4e
commit
6603050a7b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 10 01:03:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- fix bashisms in preun script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 31 00:34:20 UTC 2014 - crrodriguez@opensuse.org
|
||||
|
||||
|
@ -388,7 +388,7 @@ test -n "$FIRST_ARG" || FIRST_ARG=$1
|
||||
if test "$FIRST_ARG" -ge 1 ; then
|
||||
test -f /etc/sysconfig/services && . /etc/sysconfig/services
|
||||
if test "$YAST_IS_RUNNING" != "instsys" ; then
|
||||
/etc/init.d/vmware-guestd stop &> /dev/null || :
|
||||
/etc/init.d/vmware-guestd stop > /dev/null 2>&1 || :
|
||||
fi
|
||||
fi
|
||||
%stop_on_removal vmtoolsd
|
||||
@ -397,8 +397,8 @@ fi
|
||||
if [ "$1" = "0" -a \
|
||||
-e %{_bindir}/vmware-checkvm -a \
|
||||
-e %{_bindir}/vmware-rpctool ] && \
|
||||
%{_bindir}/vmware-checkvm &> /dev/null; then
|
||||
%{_bindir}/vmware-rpctool 'tools.set.version 0' &> /dev/null || /bin/true
|
||||
%{_bindir}/vmware-checkvm > /dev/null 2>&1; then
|
||||
%{_bindir}/vmware-rpctool 'tools.set.version 0' > /dev/null 2>&1 || true
|
||||
fi
|
||||
|
||||
%postun
|
||||
|
Loading…
Reference in New Issue
Block a user