瀏覽代碼

Remove mv flag

Joachim M. Giæver 1 年之前
父節點
當前提交
d21045217c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/hooks/connect-plug-zui-store

+ 2 - 2
src/hooks/connect-plug-zui-store

@@ -15,11 +15,11 @@ if snapctl is-connected zui-store; then
 		lprint "ZUI-store is empty, copying over data: $(ls "${SNAP_DATA}") to «${ZUI_STORE}»"
 		cp -rf "${SNAP_DATA}/"* "${ZUI_STORE}"
 		rm -rf "${ZUI_STORE}/.ext-config"
-		mv -rf "${ZUI_STORE}/logs" "${ZUI_STORE}/.z2m-logs"
+		mv -f "${ZUI_STORE}/logs" "${ZUI_STORE}/.z2m-logs"
 		if [[ ! -d "${ZUI_STORE}/.z2m-logs" ]]; then
 			mkdir "${ZUI_STORE}/.z2m-logs"
 		fi
-		mv -rf "${ZUI_STORE}/zwave"*.{log,json} "${ZUI_STORE}/.z2m-logs"
+		mv -f "${ZUI_STORE}/zwave"*.{log,json} "${ZUI_STORE}/.z2m-logs"
 		lprint "Everything seems to be in place now... Exit connection the initiate the daemonizing voting"
 		exit 1
 	else