- Use "-f" when removing /etc/profile.d/xcat.* on erase. If the file is

already removed, then with out "-f", the package fails to erase.



git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
brianfinley 2012-06-15 03:47:11 +00:00
parent cb482e73f8
commit 6562e26252

View File

@ -2,7 +2,7 @@ Summary: Core executables and data of the xCAT management project
Name: xCAT-client
Version: %(cat Version)
Release: snap%(date +"%Y%m%d%H%M")
Epoch: 4
Epoch: 5
License: EPL
Group: Applications/System
Source: xCAT-client-%(cat Version).tar.gz
@ -212,6 +212,10 @@ rm -rf $RPM_BUILD_ROOT
%{prefix}
%changelog
* Thu Jun 14 2012 - Brian Elliott Finley <bfinley@us.ibm.com>
- Use "-f" when removing /etc/profile.d/xcat.* on erase. If the file is
already removed, then with out "-f", the package fails to erase.
* Wed May 2 2007 - Norm Nott <nott@us.ibm.com>
- Made changes to make this work on AIX
@ -283,7 +287,7 @@ exit 0
%preun
%ifos linux
if [ $1 == 0 ]; then #This means only on -e
rm /etc/profile.d/xcat.*
rm -f /etc/profile.d/xcat.*
fi
%endif