Skip to content

Commit

Permalink
nc-datadir: make sure dir exists before check
Browse files Browse the repository at this point in the history
Signed-off-by: nachoparker <nacho@ownyourbits.com>
  • Loading branch information
nachoparker committed Sep 12, 2019
1 parent 4bd06e6 commit 789f0b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions bin/ncp/CONFIG/nc-datadir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

[v1.16.4](https://github.com/nextcloud/nextcloudpi/commit/682f803) (2019-09-10) fail2ban: fix missing ufw filter for old images
[v1.16.5](https://github.com/nextcloud/nextcloudpi/commit/15a1beb) (2019-09-12) nc-datadir: make sure dir exists before check

[v1.16.4](https://github.com/nextcloud/nextcloudpi/commit/4bd06e6) (2019-09-10) fail2ban: dont need ufw check in docker

[v1.16.3 ](https://github.com/nextcloud/nextcloudpi/commit/06005e1) (2019-09-09) nc-datadir: avoid using the symlink

Expand Down

0 comments on commit 789f0b5

Please sign in to comment.