From f24dbcde541b6ff2b494cc3cc87cd1b8a1144b76 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 26 Aug 2019 11:25:55 +0200 Subject: [PATCH] Small size of HA folder (#30) --- builder.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/builder.sh b/builder.sh index 824e20c..0fcae93 100755 --- a/builder.sh +++ b/builder.sh @@ -637,6 +637,7 @@ function build_homeassistant() { # Inject HA if [ -d /homeassistant ]; then cp -r /homeassisant "$TARGET/homeassistant" + rm -rf "$TARGET/homeassistant/.git" "$TARGET/homeassistant/docs" "$TARGET/homeassistant/tests" fi # Start build