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
diff options
context:
space:
mode:
Diffstat (limited to 'etc/library.sh')
-rw-r--r--etc/library.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/library.sh b/etc/library.sh
index dc3fe457..6d9b4a97 100644
--- a/etc/library.sh
+++ b/etc/library.sh
@@ -179,7 +179,7 @@ function persistent_cfg()
local DST="${2:-/data/etc/$( basename "$SRC" )}"
test -e /changelog.md && return # trick to disable in dev docker
mkdir -p "$( dirname "$DST" )"
- test -d "$DST" || {
+ test -e "$DST" || {
echo "Making $SRC persistent ..."
mv "$SRC" "$DST"
}