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