Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
ded6e400
Commit
ded6e400
authored
Feb 13, 2007
by
Martyn Smith
Committed by
Martyn Smith
Feb 13, 2007
Browse files
Fix spacing in the generated conf
parent
563f78d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
debian/mahara-apache.postinst
View file @
ded6e400
...
...
@@ -64,7 +64,7 @@ case "$1" in
if
[
-n
"
${
RET
}
"
]
;
then
echo
'<VirtualHost *>'
>>
$APACHE_CONF_FILE
echo
${
RET
}
| perl
-ne
'@s = split /\s*,\s*/; print " ServerName ", shift @s, "\n" if @s; print map { " ServerAlias $_\n" } @s;'
>>
$APACHE_CONF_FILE
echo
${
RET
}
| perl
-ne
'@s = split /\s*,\s*/; print " ServerName ", shift @s, "\n" if @s; print map { "
ServerAlias $_\n" } @s;'
>>
$APACHE_CONF_FILE
db_get mahara/servername
echo
" Redirect Permanent / http://
${
RET
}
"
>>
$APACHE_CONF_FILE
echo
'</VirtualHost>'
>>
$APACHE_CONF_FILE
...
...
debian/mahara-apache2.postinst
View file @
ded6e400
...
...
@@ -65,7 +65,7 @@ case "$1" in
if
[
-n
"
${
RET
}
"
]
;
then
echo
'<VirtualHost *>'
>>
$APACHE_CONF_FILE
echo
${
RET
}
| perl
-ne
'@s = split /\s*,\s*/; print " ServerName ", shift @s, "\n" if @s; print map { " ServerAlias $_\n" } @s;'
>>
$APACHE_CONF_FILE
echo
${
RET
}
| perl
-ne
'@s = split /\s*,\s*/; print " ServerName ", shift @s, "\n" if @s; print map { "
ServerAlias $_\n" } @s;'
>>
$APACHE_CONF_FILE
db_get mahara/servername
echo
" Redirect Permanent / http://
${
RET
}
"
>>
$APACHE_CONF_FILE
echo
'</VirtualHost>'
>>
$APACHE_CONF_FILE
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment