diff options
author | Platon Pronko | 2022-02-02 19:24:55 +0300 |
---|---|---|
committer | Platon Pronko | 2022-02-02 19:24:55 +0300 |
commit | f616b16bfe0cd858ba0ba65412dba222aa72634e (patch) | |
tree | 969474506a5dd5d2e3e95c28c1970db3f5e04277 | |
parent | 6a0745e6029499b1dec29d117402a9388ef3b091 (diff) | |
download | aur-f616b16bfe0cd858ba0ba65412dba222aa72634e.tar.gz |
add post_upgrade hook to re-run the cryptopro configuration after package upgrade
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | cryptopro-csp-k1.install | 4 |
3 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = cryptopro-csp-k1 pkgdesc = CryptoPro CSP 5.0 pkgver = 5.0.12330 - pkgrel = 3 + pkgrel = 4 url = https://cryptopro.ru/products/cryptopro-csp install = cryptopro-csp-k1.install arch = x86_64 @@ -5,7 +5,7 @@ pkgver=5.0.12330 # pkgver is not allowed to contain forward slashes _pkgver_patch="6" _pkgver="$pkgver-$_pkgver_patch" -pkgrel=3 +pkgrel=4 pkgdesc='CryptoPro CSP 5.0' arch=('x86_64') url='https://cryptopro.ru/products/cryptopro-csp' diff --git a/cryptopro-csp-k1.install b/cryptopro-csp-k1.install index fa0499691d1f..00971ab5d14f 100644 --- a/cryptopro-csp-k1.install +++ b/cryptopro-csp-k1.install @@ -562,3 +562,7 @@ post_install() { echo "Enable pcscd daemon for smart card support (for example etoken or rutoken):" echo systemctl enable --now pcscd } + +post_upgrade() { + post_install +}
\ No newline at end of file |