~ubuntu-branches/ubuntu/intrepid/debian-installer-utils/intrepid

« back to all changes in this revision

Viewing changes to debconf-get

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2005-09-03 09:52:03 UTC
  • Revision ID: james.westby@ubuntu.com-20050903095203-06vukxc6s6latnio
Tags: 1.10ubuntu2
* Backport from trunk (Matt Kraai, closes: Ubuntu #14608):
  - Copy the terminfo files from /usr/share instead of /etc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh -e
2
 
# TODO move to cdebconf, reimplement so it's not shite
3
 
 
4
 
if [ -n "$TO_GET" ]; then
5
 
        . /usr/share/debconf/confmodule
6
 
        db_get "$TO_GET"
7
 
        echo $RET 1>&2
8
 
else
9
 
        (TO_GET=$1 $0 >/dev/null) 2>&1
10
 
fi
 
2
export DEBIAN_FRONTEND=none
 
3
. /usr/share/debconf/confmodule
 
4
db_get "$1"
 
5
echo "$RET"