diff -ur stow-2.2.0-orig/bin/stow.in stow-2.2.0/bin/stow.in --- stow-2.2.0-orig/bin/stow.in 2015-08-20 18:05:18.543173733 +0200 +++ stow-2.2.0/bin/stow.in 2015-08-20 18:05:58.844669895 +0200 @@ -577,15 +577,14 @@ # Parameters: none # Returns : a list of default options # Throws : no exceptions -# Comments : prepends the contents of '~/.stowrc' and '.stowrc' to the command +# Comments : prepends the contents of '/etc/stowrc', '~/.stowrc' and '.stowrc' to the command # : line so they get parsed just like normal arguments. (This was # : hacked in so that Emil and I could set different preferences). #============================================================================= sub get_config_file_options { my @defaults = (); - for my $file ("$ENV{HOME}/.stowrc", '.stowrc') { + for my $file ('/etc/stowrc', "$ENV{HOME}/.stowrc", '.stowrc') { if (-r $file) { - warn "Loading defaults from $file\n"; open my $FILE, '<', $file or die "Could not open $file for reading\n"; while (my $line = <$FILE>){