From 3a06fffea92b360b503fb904663273d7f2322166 Mon Sep 17 00:00:00 2001 From: nott Date: Sat, 3 May 2008 13:26:14 +0000 Subject: [PATCH] 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 --- perl-xCAT-2.0/perl-xCAT.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-xCAT-2.0/perl-xCAT.spec b/perl-xCAT-2.0/perl-xCAT.spec index 52c103f0e..510ecb64a 100644 --- a/perl-xCAT-2.0/perl-xCAT.spec +++ b/perl-xCAT-2.0/perl-xCAT.spec @@ -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