Added conditional to migration post processing in perl_xCAT since it only works for Linux.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1268 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -80,6 +80,7 @@ rm -rf $RPM_BUILD_ROOT | ||||
| %{prefix} | ||||
|  | ||||
| %post | ||||
| %ifos linux | ||||
| if [ "$1" -gt 1 ]; then #Ugrade only, restart daemon and migrate settings | ||||
|    if [ -x /etc/init.d/xcatd ]; then | ||||
|       . /etc/profile.d/xcat.sh | ||||
| @@ -114,7 +115,7 @@ if [ "$1" -gt 1 ]; then #Ugrade only, restart daemon and migrate settings | ||||
|    fi | ||||
|    fi | ||||
| fi | ||||
|  | ||||
| %endif | ||||
|  | ||||
| %changelog | ||||
| * Wed May 2 2007 - Norm Nott nott@us.ibm.com | ||||
|   | ||||
		Reference in New Issue
	
	Block a user