Browse Source

Rename to .z2m-copy

Joachim M. Giæver 1 year ago
parent
commit
0c7f35d0cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/helper/functions

+ 1 - 1
src/helper/functions

@@ -54,7 +54,7 @@ function cpy_2_zui {
 			mv "${SNAP_COMMON}/zui-store/zwave"*.{log,json} "${SNAP_COMMON}/zui-store/logs/zwave-js"
 			mv "${SNAP_COMMON}/zui-store/logs" "${SNAP_COMMON}/zui-store/.old-z2m-logs"
 			rm -rf "${SNAP_COMMON}/zui-store/.ext-config"
-			touch "${SNAP_DATA}/fresh-z2m-cpy"
+			touch "${SNAP_DATA}/.z2m-cpy"
 		else
 			echo "Missing directory ${SNAP_COMMON}/zui-store, cannot write to it. Exiting..." >&2
 			exit 1