#!/bin/bash set -e mkdir -p $1/usr/bin/ cp xfhem/bin/xfhem $1/usr/bin/ mkdir -p $1/opt/fhem/ cp xfhem/etc/wagnertech.cfg $1/opt/fhem/