diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..5e4ca3c --- /dev/null +++ b/install.sh @@ -0,0 +1,12 @@ +#!/usr/bin/bash + +repoPath=$(dirname "$(realpath $0)") + +echo Installing roomcomputer at /opt/... +sudo mkdir -p /opt/roomcomputer +sudo cp -r $repoPath /opt/ + +echo Linking binaries to /usr/bin/... +sudo ln -s /opt/roomcomputer/hue_cmd.py /usr/bin/hue + +echo Done.