X-Git-Url: http://dolda2000.com/gitweb/?p=dcp.git;a=blobdiff_plain;f=dcp-init;h=f8f3667d905d493b32312231e9bda3d30862a853;hp=262a2bbd86349c4f6e5f6e801951930cc0660187;hb=HEAD;hpb=37df16fdb343d13e5920802850b942c80ed6d081 diff --git a/dcp-init b/dcp-init index 262a2bb..f8f3667 100755 --- a/dcp-init +++ b/dcp-init @@ -61,6 +61,11 @@ readconf() { export "CONF_\$key"="\$val" done <"\$HOME/.dcp-build-conf" fi + if [ -r "/etc/dcp-conf" ]; then + while read key val; do + export "CONF_\$key"="\$val" + done <"/etc/dcp-conf" + fi while read key val; do export "CONF_\$key"="\$val" done repo/src/debian/changelog.new <"$td/control/build" <"$td/control/update.d/post-logchange" <>"$td/control/conf" rungit add control/conf }