fix temp helper

This commit is contained in:
Meliox 2025-09-06 18:23:48 +02:00
parent a5a3e3968c
commit 0632e1960f

View File

@ -442,7 +442,7 @@ insert_widget_after_thermal() {
/items:/!{N;ba;}
:b
/'thermal.*},/!{N;bb;}
r $widget_file
cat $widget_file
}" "$PVE_MANAGER_LIB_JS_FILE"
}
@ -718,7 +718,7 @@ EOF
exit 1
fi
sed -i "/^Ext.define('PVE.node.StatusView'/r $temp_js_file" "$PVE_MANAGER_LIB_JS_FILE"
sed -i "/^Ext.define('PVE.node.StatusView'/e cat /tmp/temp_helper.js" "$PVE_MANAGER_LIB_JS_FILE"
rm "$temp_js_file"
}