Codebase list pnm2ppa / 2c71fd33-7cb4-4c3d-9bb7-7f58298f0c4c/main debian / config
2c71fd33-7cb4-4c3d-9bb7-7f58298f0c4c/main

Tree @2c71fd33-7cb4-4c3d-9bb7-7f58298f0c4c/main (Download .tar.gz)

config @2c71fd33-7cb4-4c3d-9bb7-7f58298f0c4c/mainraw · history · blame

#!/bin/sh
#
# Config script for pnm2ppa
#
# Only ask the questions here.  Make the changes to the filesystem in the
# postinst script.
#
set -e

# Source debconf library.
. /usr/share/debconf/confmodule

# Let debconf manage the file?
db_input medium pnm2ppa/use_debconf || true
db_go

# Get the value
db_get pnm2ppa/use_debconf
if [ "$RET" = "true" ] ; then
	# Ask which printer
	db_input medium pnm2ppa/printer_model || true
	db_go

	# Create magicfilter for printer model?
	db_input low pnm2ppa/create_magicfilter || true
	db_go
fi