From 05c1076ba2d1a68fe7f3a5ae618f786b8898d327 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Mon, 26 Sep 2005 18:32:28 +1000 Subject: Initial import. --- debian/dash.config | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 debian/dash.config (limited to 'debian/dash.config') diff --git a/debian/dash.config b/debian/dash.config new file mode 100644 index 0000000..e2ec96f --- /dev/null +++ b/debian/dash.config @@ -0,0 +1,39 @@ +#!/bin/sh +# +# debconf script for the Debian GNU/Linux ash package +# +# $Id$ + +set -e + +. /usr/share/debconf/confmodule + +db_version 2.0 + +if [ "$1" = configure ] && [ -z "$2" ]; then + set +e + db_fget ash/sh seen + err=$? + set -e + + case $err in + 0) + if [ "$RET" = true ]; then + db_fset dash/sh seen true + db_get ash/sh + db_set dash/sh "$RET" + exit + fi + ;; + 10) + # ash/sh does not exist + ;; + *) + echo "db_fget exited with $err" >&2 + exit $err + ;; + esac +fi + +db_input low dash/sh || true +db_go -- cgit 1.4.1