Only run the 670.pkgsrcaudit periodic script if pkgsrc is found.
authorSascha Wildner <saw@online.de>
Sat, 18 Jan 2014 20:43:52 +0000 (21:43 +0100)
committerSascha Wildner <saw@online.de>
Sat, 18 Jan 2014 20:43:52 +0000 (21:43 +0100)
commit33973c4b2b18323cfcf2259138c51f94fc169d2b
tree7dc29a026008b112956066d2b47d891bca36e7dc
parent95bc7f2665fcee4fc7d49ba0342a9bde30ec91c2
Only run the 670.pkgsrcaudit periodic script if pkgsrc is found.

The script will eventually go away once we move away from pkgsrc
in PATHs, manpages and everywhere but I don't want to do that right
now, hence this check for now. This silences the error this script
was giving on dports systems.

Reported-by: pavalos
etc/periodic/security/670.pkgsrcaudit