Explorar o código

Fix source path in installer for unassigned page template

Kristan Kenney %!s(int64=7) %!d(string=hai) anos
pai
achega
9728da3ef0
Modificáronse 2 ficheiros con 3 adicións e 4 borrados
  1. 2 3
      install/hst-install-debian.sh
  2. 1 1
      install/hst-install-ubuntu.sh

+ 2 - 3
install/hst-install-debian.sh

@@ -973,9 +973,8 @@ cp -rf $hestiacp/packages $HESTIA/data/
 # Installing templates
 cp -rf $hestiacp/templates $HESTIA/data/
 
-# Copying index.html to default documentroot
-cp $HESTIA/data/templates/web/skel/public_html/index.html /var/www/
-sed -i 's/%domain%/It worked!/g' /var/www/index.html
+# Copy default "Success" page for unassigned hosts
+cp -rf $hestiacp/templates/web/unassigned/* /var/www/
 
 # Installing firewall rules
 cp -rf $hestiacp/firewall $HESTIA/data/

+ 1 - 1
install/hst-install-ubuntu.sh

@@ -947,7 +947,7 @@ cp -rf $hestiacp/packages $HESTIA/data/
 cp -rf $hestiacp/templates $HESTIA/data/
 
 # Copy default "Success" page for unassigned hosts
-cp -rf $HESTIA/data/templates/web/unassigned/* /var/www/
+cp -rf $hestiacp/templates/web/unassigned/* /var/www/
 
 # Installing firewall rules
 cp -rf $hestiacp/firewall $HESTIA/data/