Joachim M. Giæver 2 rokov pred
rodič
commit
d21045217c
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  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}»"
 		lprint "ZUI-store is empty, copying over data: $(ls "${SNAP_DATA}") to «${ZUI_STORE}»"
 		cp -rf "${SNAP_DATA}/"* "${ZUI_STORE}"
 		cp -rf "${SNAP_DATA}/"* "${ZUI_STORE}"
 		rm -rf "${ZUI_STORE}/.ext-config"
 		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
 		if [[ ! -d "${ZUI_STORE}/.z2m-logs" ]]; then
 			mkdir "${ZUI_STORE}/.z2m-logs"
 			mkdir "${ZUI_STORE}/.z2m-logs"
 		fi
 		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"
 		lprint "Everything seems to be in place now... Exit connection the initiate the daemonizing voting"
 		exit 1
 		exit 1
 	else
 	else