fix defect #4190 [DEV]apache2 configuration file /etc/apache2/conf-enabled/xcat.conf.apach24 failed to be applied on ubuntu14.04 MN

This commit is contained in:
immarvin 2014-07-05 04:53:49 -07:00
parent 17598cf257
commit 243d2b7434
3 changed files with 4 additions and 2 deletions

View File

@ -5,5 +5,6 @@ install/prescripts
install/kdump
opt/xcat/share/xcat
etc/apache2/conf.d
etc/apache2/conf-available
etc/apache2/conf-enabled
opt/xcat/share/doc/packages/xCAT

View File

@ -1,5 +1,6 @@
xcat.conf etc/apache2/conf.d/
xcat.conf.apach24 etc/apache2/conf-enabled
xcat.conf etc/apache2/conf-available/
xcat.conf.apach24 etc/apache2/conf-available/
LICENSE.html opt/xcat/share/doc/packages/xCAT
postscripts/* install/postscripts/
prescripts/* install/prescripts/

View File

@ -42,7 +42,7 @@ case "$1" in
fi
# [ -e /etc/apache2/conf-enabled/xcat.conf ] && rm /etc/apache2/conf-enabled/xcat.conf
mv -f /etc/apache2/conf-enabled/xcat.conf.apach24 /etc/apache2/conf-enabled/xcat.conf
ln -s -f /etc/apache2/conf-available/xcat.conf.apach24 /etc/apache2/conf-enabled/xcat.conf
/etc/init.d/apache2 restart
;;