adamtaylor/Vagrant-Perl-Skeleton — pull request #2 by leegee (2013-12-14 15:17:26+00:00)
Title: "FIXME" hopefully fixed

This seems to work - as you can see, it simply uses grep to count the instances of the path in the .bashrc, and supplies that to the 'unless' which will stop the exec if the count is not 0.
Also, set the logging to output on failure.