[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debconf and substitution in long description


While debconfiscating :-) uptimed, I also added a note to uprecords-cgi
so that the sysadmin would be informed where the CGI would show up in his
webtree. In this note, I'd like to use substitution, but this apparently
doesn't work.

The templates file says:

Description: uprecords.cgi has been installed into the webtree
 You have installed the uprecords-cgi package. That means that a new CGI
 script has been installed, which is now visible to the outside world as
 http://${hostname}/cgi-bin/uprecords.cgi ...

The config script has:

hostname=`hostname --fqdn`
db_subst 'uprecords-cgi/install_note' hostname $hostname
db_input medium 'uprecords-cgi/install_note' || true

While this may not be a really important place, I'd still like it to
work. Any ideas what might be wrong?


GPG public key available from http://phobos.fs.tum.de/pgp/Simon.Richter.asc
 Fingerprint: DC26 EB8D 1F35 4F44 2934  7583 DBB6 F98D 9198 3292
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

Reply to: