1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-06 16:07:22 +01:00

Added the configuration document and updated line separators from Windows to Unix

This commit is contained in:
Ashiq5
2020-10-29 00:49:37 +06:00
parent 7d6c7b6610
commit a01c096d74
9 changed files with 84 additions and 11 deletions

View File

@@ -202,7 +202,7 @@ def run_migrations():
migration_id = None
if os.path.exists(migration_id_file):
with open(migration_id_file) as f:
migration_id = f.read().strip();
migration_id = f.read().strip()
if migration_id is None:
# Load the legacy location of the migration ID. We'll drop support
@@ -213,7 +213,7 @@ def run_migrations():
print()
print("%s file doesn't exists. Skipping migration..." % (migration_id_file,))
return
return
ourver = int(migration_id)
while True:

View File

@@ -26,7 +26,7 @@ InstallNextcloud() {
echo
# Download and verify
wget_verify https://download.nextcloud.com/server/releases/nextcloud-$version.zip $hash /tmp/nextcloud.zip
wget_verify http://download.nextcloud.com/server/releases/nextcloud-$version.zip $hash /tmp/nextcloud.zip
# Remove the current owncloud/Nextcloud
rm -rf /usr/local/lib/owncloud

View File

@@ -174,3 +174,4 @@ else
echo Then you can confirm the security exception and continue.
echo
fi