From dfde83bdced74dccdfa4af82e5da864d1afb19c5 Mon Sep 17 00:00:00 2001 From: Pankaj Garg Date: Fri, 19 Oct 2018 14:17:19 -0700 Subject: [PATCH] Wildcard early OOM deb package revision (#1554) --- net/scripts/install-earlyoom.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/scripts/install-earlyoom.sh b/net/scripts/install-earlyoom.sh index 1bb2f04d20..891b68b265 100755 --- a/net/scripts/install-earlyoom.sh +++ b/net/scripts/install-earlyoom.sh @@ -13,8 +13,8 @@ sysctl -w kernel.sysrq=$(( $(cat /proc/sys/kernel/sysrq) | 64 )) if command -v earlyoom; then systemctl status earlyoom else - wget http://ftp.us.debian.org/debian/pool/main/e/earlyoom/earlyoom_1.1-2_amd64.deb - apt install --quiet --yes ./earlyoom_1.1-2_amd64.deb + wget -r -l1 -np http://ftp.us.debian.org/debian/pool/main/e/earlyoom/ -A 'earlyoom_1.1-*_amd64.deb' -e robots=off -nd + apt install --quiet --yes ./earlyoom_1.1-*_amd64.deb cat > earlyoom <