summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authors3rj1k2018-01-26 12:24:21 +0200
committers3rj1k2018-01-26 12:24:21 +0200
commit6e09f5869ef266ce7544a779f920ba509b7a0de9 (patch)
tree48cd7153bd31a856a4bd8e36e12880006132e757
parente84ca91693ade8d7f49636133d7cf0bb2f871d7a (diff)
downloadaur-6e09f5869ef266ce7544a779f920ba509b7a0de9.tar.gz
remove explicit restart
-rw-r--r--.SRCINFO3
-rw-r--r--sac-core.install29
2 files changed, 5 insertions, 27 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 530c2e58b906..03c21ba7f4ce 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sac-core
pkgdesc = Safenet Authentication Client for Alladin eToken, stripped core package
pkgver = 9.1.7
- pkgrel = 7
+ pkgrel = 8
install = sac-core.install
arch = x86_64
license = custom
@@ -16,4 +16,3 @@ pkgbase = sac-core
sha256sums_x86_64 = bafd836ade7524ce5634525b7fc89b99c7ba4b2d0b908d21d960e11714204300
pkgname = sac-core
-
diff --git a/sac-core.install b/sac-core.install
index 51d4d4583ef7..c547a6dffeb3 100644
--- a/sac-core.install
+++ b/sac-core.install
@@ -1,32 +1,11 @@
-pre_install() {
- ldconfig >& /dev/null
-}
-
-pre_upgrade() {
- ldconfig >& /dev/null
-}
-
-pre_remove() {
- ldconfig >& /dev/null
-}
-
post_install() {
- ldconfig >& /dev/null
- systemctl daemon-reload
- systemctl restart pcscd.service
- echo "Run 'sudo ldconfig && sudo systemctl restart pcscd.service' after install"
+ echo "Run 'sudo ldconfig && sudo systemctl restart pcscd.service' after (re)install"
}
post_upgrade() {
- ldconfig >& /dev/null
- systemctl daemon-reload
- systemctl restart pcscd.service
- echo "Run 'sudo ldconfig && sudo systemctl restart pcscd.service' after install"
+ echo "Run 'sudo ldconfig && sudo systemctl restart pcscd.service' after upgrade"
}
post_remove() {
- ldconfig >& /dev/null
- systemctl daemon-reload
- systemctl restart pcscd.service
- echo "Run 'sudo ldconfig && sudo systemctl restart pcscd.service' after install"
-} \ No newline at end of file
+ echo "Run 'sudo ldconfig && sudo systemctl restart pcscd.service' after remove"
+}