mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
revert the removal for now since it would break all instances
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
836552e1a7
commit
7756826eb3
1 changed files with 5 additions and 5 deletions
|
|
@ -18,11 +18,11 @@ if ! [ -w "$DUMP_DIR" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Delete the datadir once (needed for the migration from debian to alpine)
|
# # Delete the datadir once (needed for the migration from debian to alpine)
|
||||||
if ! [ -f "$DUMP_DIR/initial-cleanup-done" ]; then
|
# if ! [ -f "$DUMP_DIR/initial-cleanup-done" ]; then
|
||||||
rm -rf "${DATADIR:?}/"*
|
# rm -rf "${DATADIR:?}/"*
|
||||||
touch "$DUMP_DIR/initial-cleanup-done"
|
# touch "$DUMP_DIR/initial-cleanup-done"
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
# Test if some things match
|
# Test if some things match
|
||||||
# shellcheck disable=SC2235
|
# shellcheck disable=SC2235
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue