Index: Debconf/Config.pm =================================================================== --- Debconf/Config.pm (revision 1851) +++ Debconf/Config.pm (working copy) @@ -24,6 +24,8 @@ # I don't use $ENV{HOME} because it can be a bit untrustworthy if # set by programs like sudo, and that proved to be confusing unshift @config_files, ((getpwuid($>))[7])."/.debconfrc"; +} elsif (-f $ENV{DEBCONF_SYSTEMRC}) { + @config_files=($ENV{DEBCONF_SYSTEMRC}); } =head1 DESCRIPTION Index: doc/man/debconf.7 =================================================================== --- doc/man/debconf.7 (revision 1851) +++ doc/man/debconf.7 (working copy) @@ -342,6 +342,8 @@ .B DEBCONF_SYSTEMRC If this environment variable is set, debconf will ignore a user's ~/.debconfrc file, and use the system one instead. +If it is set to the name of a regular file, debconf will use that file +instead of even the system configuration files. .TP .B DEBCONF_FORCE_DIALOG If this environment variable is set, debconf will use dialog in preference