summarylogtreecommitdiffstats
path: root/middleware.install
diff options
context:
space:
mode:
authorMāris Vilks2022-04-29 13:39:25 +0300
committerMāris Vilks2022-04-29 13:39:25 +0300
commitd23927d3ca264a6abd1c945a51379631a9cddb73 (patch)
tree42fe63777ff7180f0203172a68047ab420d049f1 /middleware.install
parent8db680e880776a293a415d3f0208a1a537394652 (diff)
downloadaur-d23927d3ca264a6abd1c945a51379631a9cddb73.tar.gz
Patched pintool path; added notes on PKCS#11 module installation
Diffstat (limited to 'middleware.install')
-rw-r--r--middleware.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/middleware.install b/middleware.install
index d3cb885c1dd8..819d0cffac68 100644
--- a/middleware.install
+++ b/middleware.install
@@ -26,6 +26,20 @@ post_install() {
/sbin/ldconfig /opt/latvia-eid/lib
/sbin/ldconfig /usr/lib/pkcs11
/sbin/ldconfig
+
+ printf "$(tput setaf 4)NOTE: $(tput sgr0)To start using eID cards in browser either follow Mozilla docs:\n"
+ printf "$(tput setaf 2) https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/pkcs11\n"
+ printf "$(tput sgr0) or use $(tput setaf 2)modutil $(tput sgr0)tool from $(tput setaf 2)nss $(tput sgr0)package:\n"
+ printf "$(tput setaf 2) https://linuxkamarada.com/en/2019/09/26/setting-up-smart-card-authentication-on-google-chrome-chromium/\n"
+ printf "$(tput sgr0) using $(tput setaf 2)/opt/latvia-eid/lib/eidlv-pkcs11.so $(tput sgr0)library in both cases.\n"
+}
+
+post_upgrade() {
+ printf "$(tput setaf 4)NOTE: $(tput sgr0)To start using eID cards in browser either follow Mozilla docs:\n"
+ printf "$(tput setaf 2) https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/pkcs11\n"
+ printf "$(tput sgr0) or use $(tput setaf 2)modutil $(tput sgr0)(from $(tput setaf 2)nss $(tput sgr0)package):\n"
+ printf "$(tput setaf 2) https://linuxkamarada.com/en/2019/09/26/setting-up-smart-card-authentication-on-google-chrome-chromium/\n"
+ printf "$(tput sgr0) using $(tput setaf 2)/opt/latvia-eid/lib/eidlv-pkcs11.so $(tput sgr0)library in both cases.\n"
}
pre_remove() {