OK.
My first naive attempt was to do:
TMPOSTINST="/tmp/fis-gtm-initial-postint"
mkdir $TMPPOSTINST
but then during "debuild" I got this warning from lintian:
Now running lintian...
W: fis-gtm-initial: possibly-insecure-handling-of-tmp-files-in-maintainer-script postinst:24
Finished running lintian.
Google search pointed to:
http://lintian.debian.org/tags/possibly-insecure-handling-of-tmp-files-in-maintainer-script.html
that explains that I should have used "mktemp --directory"
All that to say that:
MoM trainees can use a Wiki page of advice on
best practices for managing temporary directories
and files. :-)
I checked now the policy document and the new
developers guide, but didn't see instructions on
this topic ( I may have missed thought...
my apologies if the instructions are already there.)
It took me longer that I anticipated to get it to work.
Changes have been committed to SVN.
The process involved the following stages
a) create the temp directory
b) expand the first tar.gz file that contains two
other tar.gz files
c) then from these new two expand
the tar.gz corresponding to the architecture
d) configure
Before, the script was doing (a,b,d), but no (c).
I'm having trouble explaining how it worked before... :-/
but... with the new version of the postinst script
it is installing fine.