diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-01-29 18:55:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-01-29 19:44:47 +0000 |
commit | d7ed778ab5a418006cc51461006a9c2ae01d23f7 (patch) | |
tree | 9615695db23b07f2c2c5d8db76ab3ad9a0eb4745 | |
parent | Updating debconf priorities from low to high. (diff) | |
download | progress-linux-d7ed778ab5a418006cc51461006a9c2ae01d23f7.tar.xz progress-linux-d7ed778ab5a418006cc51461006a9c2ae01d23f7.zip |
Showing archive areas debconf question only when at least one archive has previously been selected.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | debian/progress-linux.config | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/debian/progress-linux.config b/debian/progress-linux.config index cb13bdb..400b050 100755 --- a/debian/progress-linux.config +++ b/debian/progress-linux.config @@ -4,12 +4,17 @@ set -e . /usr/share/debconf/confmodule +# apt archives db_settitle progress-linux/title db_input high progress-linux/archives || true db_go -db_settitle progress-linux/title -db_input high progress-linux/archive-areas || true -db_go +if db_get progress-linux/archives +then + # apt archive-areas + db_settitle progress-linux/title + db_input high progress-linux/archive-areas || true + db_go +fi db_stop |