Added a install script

master
E. Almqvist 4 years ago
parent 58f6fc6124
commit a6d5fc0111
  1. 12
      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.
Loading…
Cancel
Save