Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin/ncp
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-09-12 23:28:15 +0300
committernachoparker <nacho@ownyourbits.com>2019-09-12 23:28:18 +0300
commit789f0b58d760dcca0f79c786c41821885a0384aa (patch)
tree489e0f660d203e7177d50bc58f882813459460f3 /bin/ncp
parent4bd06e6c1344019010e7c66421bef4eba3db78ab (diff)
nc-datadir: make sure dir exists before checkv1.16.5
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'bin/ncp')
-rw-r--r--bin/ncp/CONFIG/nc-datadir.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ncp/CONFIG/nc-datadir.sh b/bin/ncp/CONFIG/nc-datadir.sh
index 667b7d37..11ede598 100644
--- a/bin/ncp/CONFIG/nc-datadir.sh
+++ b/bin/ncp/CONFIG/nc-datadir.sh
@@ -70,6 +70,7 @@ configure()
echo "moving data directory from $SRCDIR to $DATADIR..."
# resolve symlinks and use the real path
+ mkdir -p "$DATADIR"
DATADIR=$(cd "$DATADIR" && pwd -P)
# use subvolumes, if BTRFS