Removed /opt/xcat from .spec file.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12287 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
phamt 2012-04-20 04:06:16 +00:00
parent 4dc359e733
commit 3d6021bca9

View File

@ -142,8 +142,8 @@ chmod 755 $RPM_BUILD_ROOT%{prefix}/ui/*
if [ "$1" = 1 ] || [ "$1" = 2 ] # Install or upgrade
then
# Copy xCAT plugins to /opt/xcat/lib/perl/xCAT_plugin
cp %{prefix}/ui/xcat/plugins/web.pm ../lib/perl/xCAT_plugin/
cp %{prefix}/ui/xcat/plugins/webportal.pm ../lib/perl/xCAT_plugin/
cp %{prefix}/ui/xcat/plugins/web.pm %{prefix}/lib/perl/xCAT_plugin/
cp %{prefix}/ui/xcat/plugins/webportal.pm %{prefix}/lib/perl/xCAT_plugin/
/bin/ln -s ../bin/xcatclientnnr ../bin/webportal
/etc/init.d/xcatd restart
@ -210,4 +210,4 @@ chmod 755 $RPM_BUILD_ROOT%{prefix}/ui/*
rm -rf /usr/IBM/HTTPServer/conf/httpd.conf.xcat.ui.bak
fi
/usr/IBM/HTTPServer/bin/apachectl restart
%endif
%endif