File: cdebconf-priority.postinst

package info (click to toggle)
cdebconf 0.138lenny3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,184 kB
  • ctags: 1,371
  • sloc: ansic: 14,158; sh: 469; makefile: 429; sql: 51; perl: 13
file content (18 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /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. Unset the seen flag for the same reason.
db_fset debconf/priority seen false
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