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