Skip to content

Commit

Permalink
nc-datadir: lift mountpoint restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Feb 14, 2019
1 parent c9c2153 commit b070387
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 0 additions & 6 deletions bin/ncp/CONFIG/nc-datadir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ configure()
return 1
}

[[ "$DATADIR" != "/var/www/nextcloud/data" ]] && \
[[ $( stat -fc%d / ) == $( stat -fc%d "$BASEDIR" ) ]] && {
echo "Refusing to move to the SD card. Abort"
return 1
}

# backup possibly existing datadir
[ -d $DATADIR ] && {
local BKP="${DATADIR}-$( date "+%m-%d-%y" )"
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.6.1](https://github.com/nextcloud/nextcloudpi/commit/d87df8d) (2019-02-10) nc-nextcloud: add a warning
[v1.6.2](https://github.com/nextcloud/nextcloudpi/commit/39966c8) (2019-02-13) nc-datadir: lift mountpoint restriction

[v1.6.1 ](https://github.com/nextcloud/nextcloudpi/commit/3e566f5) (2019-02-10) nc-nextcloud: add a warning

[v1.6.0 ](https://github.com/nextcloud/nextcloudpi/commit/b4bb86d) (2019-02-07) upgrade to NC15.0.4

Expand Down

0 comments on commit b070387

Please sign in to comment.