aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-01-11 12:54:27 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-01-11 13:04:53 +0100
commit897fa5de0c6732478d5e98b0e5884f2713f0fa08 (patch)
tree30eb273858ceff2a96044895dbc4f327ea7d1bda
parenta8967edc5e22510bd5a8c1030a9f8a5a8c0a4ca3 (diff)
downloadaports-897fa5de0c6732478d5e98b0e5884f2713f0fa08.tar.bz2
aports-897fa5de0c6732478d5e98b0e5884f2713f0fa08.tar.xz
community/low-memory-monitor: use test -d instead of checkpath
-rw-r--r--community/low-memory-monitor/APKBUILD4
-rw-r--r--community/low-memory-monitor/low-memory-monitor.initd2
2 files changed, 3 insertions, 3 deletions
diff --git a/community/low-memory-monitor/APKBUILD b/community/low-memory-monitor/APKBUILD
index 4c31230ab9..10180e3131 100644
--- a/community/low-memory-monitor/APKBUILD
+++ b/community/low-memory-monitor/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=low-memory-monitor
pkgver=2.0
-pkgrel=1
+pkgrel=2
pkgdesc="Daemon to monitor memory usage and signal processes and the kernel"
options="!check" # No testsuite
url="https://gitlab.freedesktop.org/hadess/low-memory-monitor"
@@ -35,5 +35,5 @@ package() {
install -Dm0755 "$srcdir"/low-memory-monitor.initd "$pkgdir"/etc/init.d/low-memory-monitor
}
sha512sums="f63d0ccd9e3978b3321150d03ef9e0df82a4c453116c29d008b64b8133f7cb5c32874d4f6400384bd22b5530c761327b50e252c2ff171061e0338bc9ccc8daee low-memory-monitor-2.0.tar.gz
-3a214208355d138365af14d90ea790e49e04c3e3fb979796d6ce8f49c116212f1c98edaf05eb346ff033dd14a3d489d2f79a2844a572c5bc8e075f33958ac094 low-memory-monitor.initd
+ca605e75884c1dc1cfbc9efcd825c58fe3e0b950b1d6ad3941b06d56621b90c495964f7c4654535cdb254ebaa23acfdfef8f3b8b904d5e0eda42160db3197627 low-memory-monitor.initd
7cd0bfa4e2b374a3b7d252a18fc83ff4ecbd52d22c40e406e10ba776daad80e7dc3d3c339b556a89a97786fe541e2aff7f32097aed5473a069612344d981ab23 musl.patch"
diff --git a/community/low-memory-monitor/low-memory-monitor.initd b/community/low-memory-monitor/low-memory-monitor.initd
index 62f39560d3..68a914bb48 100644
--- a/community/low-memory-monitor/low-memory-monitor.initd
+++ b/community/low-memory-monitor/low-memory-monitor.initd
@@ -14,5 +14,5 @@ start_pre() {
# We need /proc/pressure directory that contains information about memory
# pressure. this requires CONFIG_PSI=y, if CONFIG_PSI_DEFAULT_DISABLED is
# also used then you need to pass psi=1 on the kernel cmdline
- checkpath --directory /proc/pressure
+ test -d /proc/pressure
}