diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-04-11 12:16:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-04-11 12:45:14 +0000 |
commit | ec8255b378751dca48bc839e8751cea5bd339921 (patch) | |
tree | 2af70efd08b300b299d6f157c6919c329a7513c6 /share/scripts/debconf | |
parent | Moving command files from /usr/lib to /usr/libexec. (diff) | |
download | compute-tools-ec8255b378751dca48bc839e8751cea5bd339921.tar.xz compute-tools-ec8255b378751dca48bc839e8751cea5bd339921.zip |
Moving config files from /etc/open-infrastructure to /etc/compute-tools.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-x | share/scripts/debconf | 4 | ||||
-rwxr-xr-x | share/scripts/debconf.d/0001-preseed-file | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf index 7f2bf3d..0147212 100755 --- a/share/scripts/debconf +++ b/share/scripts/debconf @@ -25,8 +25,8 @@ PROGRAM="container" SCRIPT="${0}" export SCRIPT -CONFIG="/etc/${PROJECT}/${PROGRAM}/config" -HOOKS="/etc/${PROJECT}/${PROGRAM}/hooks" +CONFIG="/etc/${SOFTWARE}/config" +HOOKS="/etc/${SOFTWARE}/hooks" MACHINES="/var/lib/machines" Parameters () diff --git a/share/scripts/debconf.d/0001-preseed-file b/share/scripts/debconf.d/0001-preseed-file index 4fec6b0..edf26a0 100755 --- a/share/scripts/debconf.d/0001-preseed-file +++ b/share/scripts/debconf.d/0001-preseed-file @@ -20,9 +20,10 @@ set -e PROJECT="open-infrastructure" +SOFTWARE="compute-tools" PROGRAM="container" -CONFIG="/etc/${PROJECT}/${PROGRAM}/debconf" +CONFIG="/etc/${SOFTWARE}/debconf" DEBCONF_NOWARNINGS="true" export DEBCONF_NOWARNINGS @@ -43,7 +44,7 @@ then elif [ "$(ls ${CONFIG}/*/${NAME}.cfg 2>/dev/null | wc -l)" -eq 1 ] then # user did not specify a pressed file, but there is 1 (and only 1) - # matching in a sub-directory of /etc/${PROJECT}/${PROGRAM}/debconf + # matching in a sub-directory of /etc/${SOFTWARE}/debconf FILE="$(ls ${CONFIG}/*/${NAME}.cfg)" |