mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-06-01 16:30:09 +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:
@@ -18,11 +18,11 @@ if ! [ -w "$DUMP_DIR" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Delete the datadir once (needed for the migration from debian to alpine)
|
||||
if ! [ -f "$DUMP_DIR/initial-cleanup-done" ]; then
|
||||
rm -rf "${DATADIR:?}/"*
|
||||
touch "$DUMP_DIR/initial-cleanup-done"
|
||||
fi
|
||||
# # Delete the datadir once (needed for the migration from debian to alpine)
|
||||
# if ! [ -f "$DUMP_DIR/initial-cleanup-done" ]; then
|
||||
# rm -rf "${DATADIR:?}/"*
|
||||
# touch "$DUMP_DIR/initial-cleanup-done"
|
||||
# fi
|
||||
|
||||
# Test if some things match
|
||||
# shellcheck disable=SC2235
|
||||
|
||||
Reference in New Issue
Block a user