bstascavage / plexReport

Scripts to generate a weekly email of new additions to Plex
66 stars 17 forks source link

Support other linux distros (FreeBSD) easier #75

Closed evanrich closed 6 years ago

evanrich commented 7 years ago

If I have time, I'll fork and write the code and submit a PR, but instead of statically looking for things such as gem, as when I run this on freebsd, I get the following

initial_setup.sh: /usr/bin/gem: not found
initial_setup.sh: /usr/local/bin/bundle: not found

on freebsd, gem is at "/usr/local/bin/gem", not /usr/bin/gem. You could get around this with a

gem_location=$(which gem)