From e735b779c3f14fcfc54a07ecb7e0ba08882ec0e3 Mon Sep 17 00:00:00 2001 From: mxi1 Date: Tue, 16 Jun 2009 06:41:12 +0000 Subject: [PATCH] -replate ihs_config_dir with absolute path git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3585 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-web/xCAT-web.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xCAT-web/xCAT-web.spec b/xCAT-web/xCAT-web.spec index c671dfaeb..ab150635d 100644 --- a/xCAT-web/xCAT-web.spec +++ b/xCAT-web/xCAT-web.spec @@ -100,9 +100,9 @@ if [ "$1" = 1 ] #initial install then # Update the apache config echo "Updating ibm http server configuration for xCAT..." - /bin/rm -f $ihs_config_dir/xcat-web.conf - cp $ihs_config_dir/httpd.conf $ihs_config_dir/httpd.conf.xcat.web.bak - cat /opt/xcat/web/etc/apache2/conf.d/xcat-web.conf >> $ihs_config_dir/httpd.conf + /bin/rm -f /usr/IBM/HTTPServer/conf/xcat-web.conf + cp /usr/IBM/HTTPServer/conf/httpd.conf /usr/IBM/HTTPServer/conf/httpd.conf.xcat.web.bak + cat /opt/xcat/web/etc/apache2/conf.d/xcat-web.conf >> /usr/IBM/HTTPServer/conf/httpd.conf /usr/IBM/HTTPServer/bin/apachectl restart fi @@ -152,8 +152,8 @@ fi %else #for AIX # Remove links made during the post install script echo "Undoing IBM HTTP Server configuration for xCAT..." -cp $ihs_config_dir/httpd.conf.xcat.web.conf $ihs_config_dir/httpd.conf -/bin/rm -rf $ihs_config_dir/httpd.conf.xcat.web.conf +cp /usr/IBM/HTTPServer/conf/httpd.conf.xcat.web.conf /usr/IBM/HTTPServer/conf/httpd.conf +rm -rf /usr/IBM/HTTPServer/conf/httpd.conf.xcat.web.conf /usr/IBM/HTTPServer/bin/apachectl restart %endif