diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-01-29 19:40:17 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-01-29 19:44:47 +0000 |
commit | f82b7c07d3a0e4c49de64e98afb08645f835fe1c (patch) | |
tree | 01952a2e42b58b44951669dae7adc0229e40bfc1 | |
parent | Adding ssh_known_hosts handling. (diff) | |
download | progress-linux-f82b7c07d3a0e4c49de64e98afb08645f835fe1c.tar.xz progress-linux-f82b7c07d3a0e4c49de64e98afb08645f835fe1c.zip |
Generalizing config script.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-x | debian/progress-linux.config | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/debian/progress-linux.config b/debian/progress-linux.config index 400b050..99b7a02 100755 --- a/debian/progress-linux.config +++ b/debian/progress-linux.config @@ -2,18 +2,20 @@ set -e +PROJECT="progress-linux" + . /usr/share/debconf/confmodule # apt archives -db_settitle progress-linux/title -db_input high progress-linux/archives || true +db_settitle ${PROJECT}/title +db_input high ${PROJECT}/archives || true db_go -if db_get progress-linux/archives +if db_get ${PROJECT}/archives then # apt archive-areas - db_settitle progress-linux/title - db_input high progress-linux/archive-areas || true + db_settitle ${PROJECT}/title + db_input high ${PROJECT}/archive-areas || true db_go fi |