mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
nc-datadir: fix
Signed-off-by: nachoparker <nacho@ownyourbits.com>
This commit is contained in:
parent
789f0b58d7
commit
dbf129fb7f
@ -70,8 +70,9 @@ configure()
|
||||
echo "moving data directory from $SRCDIR to $DATADIR..."
|
||||
|
||||
# resolve symlinks and use the real path
|
||||
mkdir -p "$DATADIR"
|
||||
mkdir "$DATADIR"
|
||||
DATADIR=$(cd "$DATADIR" && pwd -P)
|
||||
rmdir "$DATADIR"
|
||||
|
||||
# use subvolumes, if BTRFS
|
||||
[[ "$( stat -fc%T "$BASEDIR" )" == "btrfs" ]] && {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user