diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-07-27 00:58:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-07-27 00:58:35 +0000 |
commit | 55019ff4757681593a80775526029c2ff1907f5c (patch) | |
tree | 947d572f3fa1a14c3809367303850524d94e92da /share/hooks/pre-build.git-pull.sh | |
parent | Adding upstream version 20210726. (diff) | |
download | open-infrastructure-compute-tools-ca519b780efed070d04f0c88b6935e94b2e4c4ec.tar.xz open-infrastructure-compute-tools-ca519b780efed070d04f0c88b6935e94b2e4c4ec.zip |
Adding upstream version 20210727.upstream/20210727
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/hooks/pre-build.git-pull.sh')
-rwxr-xr-x | share/hooks/pre-build.git-pull.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/share/hooks/pre-build.git-pull.sh b/share/hooks/pre-build.git-pull.sh index 744f955..d2cc152 100755 --- a/share/hooks/pre-build.git-pull.sh +++ b/share/hooks/pre-build.git-pull.sh @@ -31,10 +31,13 @@ do then echo "Updating ${DIRECTORY}..." - if [ -e "/etc/${SOFTWARE}.conf" ] - then - . "/etc/${SOFTWARE}.conf" - fi + for FILE in "/etc/${SOFTWARE}/${PROGRAM}.conf" "/etc/${SOFTWARE}/${PROGRAM}.conf.d"/*.conf + do + if [ -e "${FILE}" ] + then + . "${FILE}" + fi + done DEBCONF_ID="${DEBCONF_ID:-HEAD}" |