On Fri, Mar 15, 2013 at 18:56:21 +0100, Ralf Treinen wrote: > diff -ur rinputd-1.0.5.old/debian/config rinputd-1.0.5/debian/config > --- rinputd-1.0.5.old/debian/config 2012-04-12 20:06:14.000000000 +0200 > +++ rinputd-1.0.5/debian/config 2013-03-15 17:44:54.000000000 +0100 > @@ -2,8 +2,6 @@ > > set -e > > -[ `echo $DEBIAN_FRONTEND | tr '[:upper:]' '[:lower:]'` = "noninteractive" ] > && exit 0 > - > . /usr/share/debconf/confmodule > > db_beginblock > @@ -13,6 +11,10 @@ > > db_go > > +# initialisation of USER and PASS needed in the non-interactive case > +USER="rinputd" > +PASS=`openssl rand -base64 8` > + > db_get rinputd/username > USER="$RET" > db_get rinputd/passwd
I'm not sure you can rely on non-essential packages being installed during config. That includes openssl. Also how does this work when you're just overriding those values a couple of lines later? Cheers, Julien
signature.asc
Description: Digital signature