mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
nc-datadir: lift mountpoint restriction
This commit is contained in:
parent
c9c2153373
commit
b0703877e6
@ -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" )"
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user