ms8r / celnav

Celestial navigation for cruising sailors
21 stars 5 forks source link

added logic to check if script is run by SUDO_USER or regular USER #4

Closed anielsen001 closed 6 years ago

anielsen001 commented 6 years ago

I wanted to build your code to run in a virtualenv, but don't required SUDO privileges to build and configure this way, so I added a check to see if sudo was used or not.