Skip to content

Commit 9728da3

Browse files
author
Kristan Kenney
committed
Fix source path in installer for unassigned page template
1 parent c6816c9 commit 9728da3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

install/hst-install-debian.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -973,9 +973,8 @@ cp -rf $hestiacp/packages $HESTIA/data/
973973
# Installing templates
974974
cp -rf $hestiacp/templates $HESTIA/data/
975975

976-
# Copying index.html to default documentroot
977-
cp $HESTIA/data/templates/web/skel/public_html/index.html /var/www/
978-
sed -i 's/%domain%/It worked!/g' /var/www/index.html
976+
# Copy default "Success" page for unassigned hosts
977+
cp -rf $hestiacp/templates/web/unassigned/* /var/www/
979978

980979
# Installing firewall rules
981980
cp -rf $hestiacp/firewall $HESTIA/data/

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ cp -rf $hestiacp/packages $HESTIA/data/
947947
cp -rf $hestiacp/templates $HESTIA/data/
948948

949949
# Copy default "Success" page for unassigned hosts
950-
cp -rf $HESTIA/data/templates/web/unassigned/* /var/www/
950+
cp -rf $hestiacp/templates/web/unassigned/* /var/www/
951951

952952
# Installing firewall rules
953953
cp -rf $hestiacp/firewall $HESTIA/data/

0 commit comments

Comments
 (0)