|
|
@@ -999,9 +999,22 @@ cp -rf $hestiacp/packages $HESTIA/data/
|
|
|
# Installing templates
|
|
|
cp -rf $hestiacp/templates $HESTIA/data/
|
|
|
|
|
|
-# Copy default "Success" page for unassigned hosts
|
|
|
-# TO-DO: Enable when remaining packages have been updated
|
|
|
-# cp -rf $hestiacp/templates/web/unassigned/* /var/www/
|
|
|
+# Setting permissions on default page template files
|
|
|
+chmod 751 $HESTIA/data/templates/web/skel/document_errors/css
|
|
|
+chmod 751 $HESTIA/data/templates/web/skel/document_errors/js
|
|
|
+chmod 751 $HESTIA/data/templates/web/skel/document_errors/webfonts
|
|
|
+chmod 751 $HESTIA/data/templates/web/skel/public_*html/css
|
|
|
+chmod 751 $HESTIA/data/templates/web/skel/public_*html/js
|
|
|
+chmod 751 $HESTIA/data/templates/web/skel/public_*html/webfonts
|
|
|
+chmod 751 $HESTIA/data/templates/web/suspend/css
|
|
|
+chmod 751 $HESTIA/data/templates/web/suspend/js
|
|
|
+chmod 751 $HESTIA/data/templates/web/suspend/webfonts
|
|
|
+chmod 751 $HESTIA/data/templates/web/unassigned/css
|
|
|
+chmod 751 $HESTIA/data/templates/web/unassigned/js
|
|
|
+chmod 751 $HESTIA/data/templates/web/unassigned/webfonts
|
|
|
+
|
|
|
+# Install default success page
|
|
|
+cp -rf $hestiacp/templates/web/unassigned/* /var/www/html/
|
|
|
|
|
|
# Installing firewall rules
|
|
|
cp -rf $hestiacp/firewall $HESTIA/data/
|