Permalink
Browse files

look for /etc/vhs.yaml

  • Loading branch information...
1 parent 36791f2 commit d5d5fd5a3ff346b27e13ee0bec278d320def1aa8 @lukec lukec committed Aug 5, 2009
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/VHS.pm
View
@@ -56,6 +56,9 @@ sub take_picture {
sub _build_config {
my $vhs_config_file = "$FindBin::Bin/../../.vhs.yaml";
+ unless (-e $vhs_config_file) {
+ $vhs_config_file = '/etc/vhs.yaml';
+ }
return LoadFile($vhs_config_file);
}

0 comments on commit d5d5fd5

Please sign in to comment.