diff --git a/papermerge/rootfs/etc/cont-init.d/00-folders.sh b/papermerge/rootfs/etc/cont-init.d/00-folders.sh index 7800b7215..80a70c962 100644 --- a/papermerge/rootfs/etc/cont-init.d/00-folders.sh +++ b/papermerge/rootfs/etc/cont-init.d/00-folders.sh @@ -13,10 +13,3 @@ sed -i "s|/data/config|$CONFIGLOCATION|g" /defaults/* # Create directory mkdir -p "$CONFIGLOCATION"/config - -# Copy previous config if existing -if [ -d /data/config ]; then - echo "Moving to new location $CONFIGLOCATION" - mv /data/config/* "$CONFIGLOCATION"/config/ - rm -r /data/config -fi