diff options
author | Oleksii Vilchanskyi | 2017-07-29 15:06:50 +0200 |
---|---|---|
committer | Oleksii Vilchanskyi | 2017-07-29 15:06:50 +0200 |
commit | ac78425f96689eb2a5a48dc0b605efa5adba7bb4 (patch) | |
tree | f1149956525ff6d1de80b241160b7cf22883c6e6 | |
parent | 667c0407493d35eae953cdc6add4412a1370d962 (diff) | |
download | aur-ac78425f96689eb2a5a48dc0b605efa5adba7bb4.tar.gz |
Kill ckb in pre_upgrade and pre_remove
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rwxr-xr-x | ckb-next.install | 4 |
3 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = ckb-next pkgdesc = Corsair Keyboard and Mouse Input Driver, release version pkgver = 0.2.8 - pkgrel = 3 + pkgrel = 4 url = https://github.com/mattanger/ckb-next install = ckb-next.install arch = i686 @@ -2,7 +2,7 @@ pkgname=ckb-next pkgver=0.2.8 -pkgrel=3 +pkgrel=4 pkgdesc="Corsair Keyboard and Mouse Input Driver, release version" arch=('i686' 'x86_64') url="https://github.com/mattanger/ckb-next" diff --git a/ckb-next.install b/ckb-next.install index 31029d6523d9..542c3f770daf 100755 --- a/ckb-next.install +++ b/ckb-next.install @@ -23,6 +23,8 @@ post_install() { # arg 1: the new package version # arg 2: the old package version pre_upgrade() { + msg_blue "Terminating ckb-next GUI..." + killall -9 ckb msg_blue "Terminating ckb-next daemon..." systemctl daemon-reload systemctl stop ckb-daemon @@ -40,6 +42,8 @@ post_upgrade() { # arg 1: the old package version pre_remove() { + msg_blue "Terminating ckb-next GUI..." + killall -9 ckb msg_blue "Terminating ckb-next daemon..." systemctl daemon-reload systemctl stop ckb-daemon |