From 2d5991f5ee69deae922023066b11a0593715dde9 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Mon, 7 Jan 2013 05:51:54 +0000 Subject: [PATCH] Fixed a problem that if preinstall/preupgrade/postinstall/postupgrade script is empty, the product rpm will fail during insalling. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-buildkit/share/xcat/kits/kitcomponent.spec.template | 6 ------ 1 file changed, 6 deletions(-) diff --git a/xCAT-buildkit/share/xcat/kits/kitcomponent.spec.template b/xCAT-buildkit/share/xcat/kits/kitcomponent.spec.template index 70c948cbb..1510a76af 100644 --- a/xCAT-buildkit/share/xcat/kits/kitcomponent.spec.template +++ b/xCAT-buildkit/share/xcat/kits/kitcomponent.spec.template @@ -22,23 +22,17 @@ rm -rf $RPM_BUILD_ROOT %changelog %pre -if [ "$1" = "1" ] ; then <<>> -elif [ "$1" = "2" ] ; then <<>> -fi %post -if [ "$1" = "1" ] ; then <<>> -elif [ "$1" = "2" ] ; then <<>> -fi %preun <<>>