From f82b7c07d3a0e4c49de64e98afb08645f835fe1c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 29 Jan 2019 20:40:17 +0100 Subject: Generalizing config script. Signed-off-by: Daniel Baumann --- debian/progress-linux.config | 12 +++++++----- 1 file 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 -- cgit v1.2.3