diff options
author | Vianney Bouchaud | 2023-09-25 22:13:50 +0200 |
---|---|---|
committer | Vianney Bouchaud | 2023-09-25 22:13:50 +0200 |
commit | 832558a265aaddd88fd3cae53bdc2052dac81d56 (patch) | |
tree | 844606288341c5fa7e91bab9bffb6967a70edf44 | |
parent | 8c1fb6cddbb0b467d6555a9fe3944f78112b6ecb (diff) | |
download | aur-832558a265aaddd88fd3cae53bdc2052dac81d56.tar.gz |
upgpkg: kured-sentinel 2.0.2-1
upstream release
fixing pacman lockfile detection
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rwxr-xr-x | kured-sentinel | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = kured-sentinel pkgdesc = Sentinel script for Kured - Kubernetes Reboot Daemon - pkgver = 2.0.1 + pkgver = 2.0.2 pkgrel = 1 url = https://github.com/vbouchaud/aur/tree/main/kured-sentinel arch = any @@ -8,6 +8,6 @@ pkgbase = kured-sentinel source = LICENSE::https://bouchaud.org/misc/MIT.txt source = kured-sentinel sha256sums = 35e3cbe726e28f2f624acbe4fce8af09715e55537df7aa22ac89f00cde399515 - sha256sums = aa17f62b18aa1909168b14c0e42b0a2988b6791a5c1658d349ab0a4932bacd1a + sha256sums = 5e5338e74644007b1732d856d423d24d916d9f130f50d31a3e4908f0715eac9a pkgname = kured-sentinel @@ -2,7 +2,7 @@ pkgname=kured-sentinel pkgdesc="Sentinel script for Kured - Kubernetes Reboot Daemon" -pkgver=2.0.1 +pkgver=2.0.2 pkgrel=1 arch=("any") url="https://github.com/vbouchaud/aur/tree/main/kured-sentinel" @@ -10,7 +10,7 @@ license=("MIT") sha256sums=( 35e3cbe726e28f2f624acbe4fce8af09715e55537df7aa22ac89f00cde399515 - aa17f62b18aa1909168b14c0e42b0a2988b6791a5c1658d349ab0a4932bacd1a + 5e5338e74644007b1732d856d423d24d916d9f130f50d31a3e4908f0715eac9a ) source=( diff --git a/kured-sentinel b/kured-sentinel index 40b92a310023..bb4088fe1340 100755 --- a/kured-sentinel +++ b/kured-sentinel @@ -1,6 +1,6 @@ #!/usr/bin/env sh -if [ ! -f /var/lib/pacman/db.lck ]; then +if [ -f /var/lib/pacman/db.lck ]; then libs=$(lsof -n +c 0 2> /dev/null | grep 'DEL.*lib' | awk '1 { print $1 ": " $NF }' | sort -u) if [[ -n $libs ]]; then exit 0 |