From 96fa565fbadff9e03ff8a03a623ab68b44ceb5d5 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Wed, 15 Apr 2020 12:34:27 +0200 Subject: [PATCH] Update scripts/remove Co-Authored-By: Kayou --- scripts/remove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index f7d53f8..038ab84 100644 --- a/scripts/remove +++ b/scripts/remove @@ -76,7 +76,7 @@ ynh_secure_remove --file=/usr/share/transmission # And data ynh_secure_remove --file=/var/lib/transmission-daemon # Kernel parameters -if [ ${PACKAGE_CHECK_EXEC:-0} -eq 0 ] +if [ -e /proc/sys/net/core/rmem_max ] then ynh_secure_remove --file=/etc/sysctl.d/90-transmission.conf sysctl --load=/etc/sysctl.d/90-transmission.conf