mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-26 02:57:04 +00:00
dont replace owncloud config if it exists (we dont want this as it will contain vital data)
This commit is contained in:
parent
44fcdc2066
commit
f287ca3b6c
@ -23,11 +23,10 @@ if [ ! -d /usr/local/lib/owncloud ]; then
|
||||
fi
|
||||
|
||||
# Create a configuration file.
|
||||
cat - > /usr/local/lib/owncloud/config/config.php <<EOF;
|
||||
if [ ! -f "/usr/local/lib/owncloud/config/config.php" ]; then
|
||||
cat - > /usr/local/lib/owncloud/config/config.php <<EOF;
|
||||
<?php
|
||||
/*
|
||||
* Do not edit. Written by Mail-in-a-Box. Regenerated on updates.
|
||||
*/
|
||||
|
||||
\$CONFIG = array (
|
||||
\ 'datadirectory' => '$STORAGE_ROOT/owncloud',
|
||||
\ array (
|
||||
@ -41,7 +40,9 @@ cat - > /usr/local/lib/owncloud/config/config.php <<EOF;
|
||||
\ ),
|
||||
\ ),
|
||||
\);
|
||||
?>
|
||||
EOF
|
||||
fi
|
||||
|
||||
# TODO: Insert the following above (owncloud config generation) when we found a good solution:
|
||||
# 'mail_smtpmode' => 'smtp',
|
||||
|
Loading…
Reference in New Issue
Block a user