diff --git a/lib/private/Setup.php b/lib/private/Setup.php
index 3fbfc3da2b..e360319c5b 100644
--- a/lib/private/Setup.php
+++ b/lib/private/Setup.php
@@ -547,7 +547,7 @@ class Setup {
$content .= " Require all denied\n";
$content .= "\n";
$content .= "\n";
- $content .= " Order Allow,Deny";
+ $content .= " Order Allow,Deny\n";
$content .= " Deny from all\n";
$content .= " Satisfy All\n";
$content .= "\n\n";
@@ -555,7 +555,7 @@ class Setup {
$content .= "\n";
$content .= " \n";
$content .= " \n";
- $content .= " Order Allow,Deny";
+ $content .= " Order Allow,Deny\n";
$content .= " Deny from all\n";
$content .= " \n";
$content .= " Satisfy All\n";