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

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10644 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
phamt 2011-09-26 21:03:11 +00:00
parent 7f64894cd7
commit d82bc77ae5

View File

@ -84,7 +84,7 @@ set -x
# Copy xCAT plugins to /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
/bin/ln -s bin/xcatclientnnr $RPM_BUILD_ROOT%{prefix}/bin/webportal
/etc/init.d/xcatd restart
%else # AIX
# TBD