CLI tool to control your IoT gadgets.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/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.
|
|
|