Moved copy of web.pm and webportal.pm into %install.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10643 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
phamt 2011-09-26 20:53:25 +00:00
parent a12e75f095
commit 7f64894cd7

View File

@ -82,8 +82,8 @@ set -x
%ifos linux
# Copy xCAT plugins to /opt/xcat/lib/perl/xCAT_plugin
cp %{prefix}/ui/xcat/plugins/web.pm /opt/xcat/lib/perl/xCAT_plugin/
cp %{prefix}/ui/xcat/plugins/webportal.pm /opt/xcat/lib/perl/xCAT_plugin/
cp ui/xcat/plugins/web.pm $RPM_BUILD_ROOT%{prefix}/lib/perl/xCAT_plugin/
cp ui/xcat/plugins/webportal.pm $RPM_BUILD_ROOT%{prefix}/lib/perl/xCAT_plugin/
/bin/ln -s /opt/xcat/bin/xcatclientnnr /opt/xcat/bin/webportal
/etc/init.d/xcatd restart
%else # AIX