SciFiFarms / TechnoCore

TechnoCore: an IoT stack powered by Docker Swarm
GNU General Public License v3.0
20 stars 1 forks source link

Couple quick fixes to install script. #15

Closed greatbacon closed 6 years ago

greatbacon commented 6 years ago

It seems that by default Macs don't have a profile.d created, so I added an idempotent line near the beginning to create the directory (which will require sudo permissions)

I also modified the logic around vault initialization because it was throwing a unary operation expected error in the previous logic if you had already initialized your vault.

TheHackmeister commented 6 years ago

I went ahead and merged this. Will circle back on better profile.d management later.