Closed salty-horse closed 5 years ago
The installation guide in the README is:
git clone https://github.com/TylerBrock/mongo-hacker cd mongo-hacker make install cd .. rm -rdf mongo-hacker/
make install softlinks a file in mongo-hacker/ to ~/.mongorc.js. rm then deletes that original file, so the soft link is now broken.
make install
mongo-hacker/
~/.mongorc.js
rm
Also, the -d flag for rm is redundant. It's implied by -r.
-d
-r
Great report! I sent a PR to fix it #188.
What about the -d flag for rm :)
It also makes sense and can be improved, but it doesn't throw an error or side effect so far.
The installation guide in the README is:
make install
softlinks a file inmongo-hacker/
to~/.mongorc.js
.rm
then deletes that original file, so the soft link is now broken.Also, the
-d
flag forrm
is redundant. It's implied by-r
.