hass-core/virtualization/Docker/scripts/tellstick
Daniel Bowman 0ad9fcd8a0 Add -j$(nproc) make option to speed up build time ()
Adding `-j$(nproc)` reduces build time on the external dependencies by
approximately 25%.
2018-08-14 21:28:29 +02:00

17 lines
412 B
Bash
Executable file

#!/bin/bash
# Sets up tellstick.
# Stop on errors
set -e
PACKAGES=(
# homeassistant.components.tellstick
libtelldus-core2
)
# Add Tellstick repository
echo "deb http://download.telldus.com/debian/ stable main" >> /etc/apt/sources.list.d/telldus.list
wget -qO - http://download.telldus.com/debian/telldus-public.key | apt-key add -
apt-get update
apt-get install -y --no-install-recommends ${PACKAGES[@]}