It looks like something got moved into a function. In a sh function, $@ contains the parameters given to the function and not to the script. The following got past the "dbconfig-common can not determine the maintainer script running it." problem, but it still didn't work completely for me (maybe just because the script crashes the first time it tries to run):
--- bugzilla.postinst-orig 2006-09-08 20:58:21.000000000 -0600 +++ bugzilla.postinst 2006-09-08 20:54:43.000000000 -0600 @@ -127,7 +128,7 @@ # Debconf is needed here for the postinst-db.pl script . /usr/share/debconf/confmodule - get_db_variables + get_db_variables $@ umask 0027 if [ -n "$dbserver" ] && -- Eldon Koyle -- The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!" (I found it!) but "That's funny ..." -- Isaac Asimov -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]