DEB packaging of PZ Signer from ePUAP (including Java 9+ fixes)
Jacek Kowalski
2019-09-25 207ea2ca32736f2d08d48410bc9ec6246c8c1c13
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -e
 
if [ "$1" = "configure" ]
then
    CONFFILE=/etc/default/pzsigner
 
    . /usr/share/debconf/confmodule
 
    db_get pzsigner/pkcs11_library
    echo "# Do NOT modify this file directly! Instead use:" > ${CONFFILE}
    echo "# dpkg-reconfigure pzsigner" >> ${CONFFILE}
    echo >> ${CONFFILE}
    echo "PKCS11_LIBRARY=${RET}" >> ${CONFFILE}
fi
 
#DEBHELPER#