Update node-red.sh

tweak
This commit is contained in:
tteckster 2024-01-02 13:03:15 -05:00 committed by GitHub
parent d9f27eeff7
commit 91ab250a3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,10 +114,6 @@ npm install @node-red-contrib-themes/theme-collection &>/dev/null
sed -i "{s/theme: ".*"/theme: '${THEME}',/g}" /root/.node-red/settings.js sed -i "{s/theme: ".*"/theme: '${THEME}',/g}" /root/.node-red/settings.js
systemctl restart nodered systemctl restart nodered
msg_ok "Installed ${THEME} Theme" msg_ok "Installed ${THEME} Theme"
msg_info "Restarting ${APP}"
systemctl restart nodered
msg_ok "Restarted ${APP}"
exit exit
fi fi
} }