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.
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.