We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b44634b commit c52e3adCopy full SHA for c52e3ad
addon_files/update_script
@@ -24,6 +24,11 @@ fi
24
25
touch $CONF_DIR/hm_addons.cfg
26
sed -i '/node-red/d' $CONF_DIR/hm_addons.cfg
27
+x=$(tail -c 1 $CONF_DIR/hm_addons.cfg)
28
+if [ "$x" != "" ]
29
+then
30
+ echo >> $CONF_DIR/hm_addons.cfg
31
+fi
32
echo "node-red {CONFIG_URL /addons/red CONFIG_DESCRIPTION {de {<li>Node-RED</li>} en {<li>Node-RED</li>}} ID node-red CONFIG_NAME Node-RED}" >> $CONF_DIR/hm_addons.cfg
33
echo "node-red-dashboard {CONFIG_URL /addons/red/ui CONFIG_DESCRIPTION {de {<li>Node-RED Dashboard UI</li>} en {<li>Node-RED Dashboard UI</li>}} ID node-red-dashboard CONFIG_NAME \"Node-RED Dashboard\"}" >> $CONF_DIR/hm_addons.cfg
34
0 commit comments