File: cdebconf-priority.postinst

package info (click to toggle)
cdebconf 0.74.2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,860 kB
  • ctags: 1,063
  • sloc: ansic: 10,240; sh: 457; makefile: 364; sql: 51; perl: 13
file content (17 lines) | stat: -rw-r--r-- 499 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh -e

. /usr/share/debconf/confmodule

#db_capb BACKUP

# Critical, as we always want the question to be asked. It's kind of
# pointless to run cdebconf-priority if you DON'T want to answer the
# question.
db_input critical debconf/priority || true
db_go

# horrible, horrible hack. The changed value of debconf/priority is
# only caught by db_set, not by db_go. I'm not quite sure what to do
# to catch it in db_go...
db_get debconf/priority || true
db_set debconf/priority "$RET" || true