fix temp helper
This commit is contained in:
parent
a5a3e3968c
commit
0632e1960f
@ -442,7 +442,7 @@ insert_widget_after_thermal() {
|
|||||||
/items:/!{N;ba;}
|
/items:/!{N;ba;}
|
||||||
:b
|
:b
|
||||||
/'thermal.*},/!{N;bb;}
|
/'thermal.*},/!{N;bb;}
|
||||||
r $widget_file
|
cat $widget_file
|
||||||
}" "$PVE_MANAGER_LIB_JS_FILE"
|
}" "$PVE_MANAGER_LIB_JS_FILE"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -718,7 +718,7 @@ EOF
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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"
|
rm "$temp_js_file"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user