1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/transmission_ynh.git synced 2024-09-04 01:46:12 +02:00

Update scripts/remove

Co-Authored-By: Kayou <pierre@kayou.io>
This commit is contained in:
Maniack Crudelis 2020-04-15 12:34:27 +02:00 committed by GitHub
parent 9c4e8736ff
commit 96fa565fba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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