blob: 11a887381bd52f1f12eced977e9ad0542797151b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
checkpcscd() {
if [ "`systemctl is-enabled pcscd.socket`" != "enabled" -a \
"`systemctl is-enabled pcscd.service`" != "enabled" ] ; then
cat <<-EOF
>>> pcscd is required for a proper function of eidklient
>>> You can enable it by issuing:
>>>
>>> sudo systemctl enable --now pcscd.socket
EOF
fi
}
## arg 1: the new package version
post_install() {
checkpcscd
}
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
checkpcscd
}
|