diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-11-02 14:24:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-11-02 16:55:35 +0000 |
commit | b4d5fe774639ad11be42f0822470c38b324d2e73 (patch) | |
tree | f00717f648cfd7f272245bd1286801dae1bb055c /share/build-scripts/debconf.d/0001-preseed-file | |
parent | Renaming internal config variable to more suitable debconf in debconf build s... (diff) | |
download | compute-tools-b4d5fe774639ad11be42f0822470c38b324d2e73.tar.xz compute-tools-b4d5fe774639ad11be42f0822470c38b324d2e73.zip |
Also removing config file stub when exiting debconf build script.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-x | share/build-scripts/debconf.d/0001-preseed-file | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/build-scripts/debconf.d/0001-preseed-file b/share/build-scripts/debconf.d/0001-preseed-file index 33f5427..c1a311d 100755 --- a/share/build-scripts/debconf.d/0001-preseed-file +++ b/share/build-scripts/debconf.d/0001-preseed-file @@ -23,6 +23,7 @@ PROJECT="open-infrastructure" SOFTWARE="compute-tools" PROGRAM="container" +CONFIG="/etc/${SOFTWARE}/config" DEBCONF="/etc/${SOFTWARE}/debconf" DEBCONF_NOWARNINGS="true" @@ -79,6 +80,7 @@ then ;; exit) + rm -f "${CONFIG}/${NAME}.conf" exit 1 ;; |