summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdebian/progress-linux.config12
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