Force application language to pl
PZ Signer does not support languages other than Polish.
Attempt to run it in en_US locale fails with error:
Caused by: java.util.MissingResourceException: Can't find bundle for
base name application, locale en_US
This update sets JVM property user.language to pl
Closes #2
| | |
| | | NAME = pzsigner |
| | | VERSION = 1.0 |
| | | PACKAGENAME = pzsigner |
| | | PACKAGEVERSION = $(VERSION)-3 |
| | | PACKAGEVERSION = $(VERSION)-4 |
| | | URL = "https://pz.gov.pl/PZ%20Signer/linux/x86" |
| | | BASENAME = pzsigner.zip |
| | | |
| | |
| | | |
| | | cd /opt/pzsigner |
| | | java -Dfile.encoding=UTF8 \ |
| | | -Duser.language=pl \ |
| | | "-Dpz.signer.pkcs11.libpath=${PKCS11_LIBRARY}" \ |
| | | -cp 'classes:lib/*' \ |
| | | com.pentacomp.signer.Application |