DEB packaging of PZ Signer from ePUAP (including Java 9+ fixes)
Jacek Kowalski
2020-02-07 20280ea9a50e02b701155805d0f77b9fdd0d33fb
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#