From 98a5542ceec5e6242a94009387824ce66e01d99d Mon Sep 17 00:00:00 2001 From: Geoff Norton Date: Thu, 22 Jan 2015 05:22:40 +0000 Subject: [PATCH 1/3] Minor refactor of build_frontend script to support linux, and not just mac --- scripts/build_frontend | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/build_frontend b/scripts/build_frontend index 4ef3e812784..f582743dd3c 100755 --- a/scripts/build_frontend +++ b/scripts/build_frontend @@ -24,4 +24,10 @@ mv polymer/bower_components/polymer/polymer.html.bak polymer/bower_components/po # Generate the MD5 hash of the new frontend cd .. echo '""" DO NOT MODIFY. Auto-generated by build_frontend script """' > frontend.py -echo 'VERSION = "'`md5 -q www_static/frontend.html`'"' >> frontend.py +if [ $(command -v md5) ]; then + echo 'VERSION = "'`md5 -q www_static/frontend.html`'"' >> frontend.py +elif [ $(command -v md5sum) ]; then + echo 'VERSION = "'`md5sum www_static/frontend.html | cut -c-32`'"' >> frontend.py +else + echo 'Could not find a MD5 utility' +fi From ead5d9939486899f60cd1b4bd6c271d942a87741 Mon Sep 17 00:00:00 2001 From: Geoff Norton Date: Thu, 22 Jan 2015 05:23:12 +0000 Subject: [PATCH 2/3] Update the frontend with the new icon for sensor --- homeassistant/components/http/frontend.py | 2 +- .../components/http/www_static/frontend.html | 53 ++++++++----------- 2 files changed, 23 insertions(+), 32 deletions(-) diff --git a/homeassistant/components/http/frontend.py b/homeassistant/components/http/frontend.py index 48100f97ac7..99a5a35a739 100644 --- a/homeassistant/components/http/frontend.py +++ b/homeassistant/components/http/frontend.py @@ -1,2 +1,2 @@ """ DO NOT MODIFY. Auto-generated by build_frontend script """ -VERSION = "951c0a4e0adb70ec1f0f7e4c76955ed9" +VERSION = "1d7f65f99c286d2c897b900518ebb663" diff --git a/homeassistant/components/http/www_static/frontend.html b/homeassistant/components/http/www_static/frontend.html index 273f01f46bb..3c2f344a2a0 100644 --- a/homeassistant/components/http/www_static/frontend.html +++ b/homeassistant/components/http/www_static/frontend.html @@ -1,9 +1,12 @@ - - -