Closed shbatm closed 5 years ago
Thanks for this. One question, line 3 pulls the current working directory, so surely for this to work, this needs to be run from the installation dir. Am I correct with this assumption? It's not a problem, I just need to update the instructions in README.md
Yes, it has to be run from wherever you have the repo cloned, which depending on when you started using this project may be different than /opt
. I didn't want to guess where people had it.
Maybe for the README:
To migrate your existing install to the new repo:
curl -s https://raw.githubusercontent.com/mariusmotea/diyHue/master/migrate.sh | sudo bash /dev/stdin
chmod +x migrate.sh
./migrate.sh
I would also suggest that you replace the easy_install.sh script in this repo with the one you updated in the new repo. That way if people do run the script from here (or run it from the old repo if they have it cloned) it will update everything from the new repo.
I made a small update to the migrate.sh script for people that have cloned the full git repo. It will split the old repo into the new 3 and add the new tracking info.