فهرست منبع

Ensure EXT-CONF is set during refresh

Joachim M. Giæver 3 سال پیش
والد
کامیت
ca3af5dc9b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/hooks/post-refresh

+ 1 - 1
src/hooks/post-refresh

@@ -22,4 +22,4 @@ fi
 # Update references to the external config directory
 # sed -iE "s#$(dirname ${SNAP_DATA})/(current|[0-9]+)#${SNAP_DATA}/#g" $ZWAVEJS_EXTERNAL_CONFIG/devices/index.json
 # Discussed with Al Calzone, lead dev of Zwavejs, can just be deleted and re-build
-rm "${ZWAVEJS_EXTERNAL_CONFIG}/devices/index.json"
+rm "${ZWAVEJS_EXTERNAL_CONFIG-${SNAP_DATA}/.ext-config}/devices/index.json"