fix temp helper
This commit is contained in:
parent
a5a3e3968c
commit
0632e1960f
@ -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"
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user