From ff07b482912c906d544cbdcaf88491a82da9c0e1 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 14 Feb 2020 19:04:09 +0100 Subject: [PATCH 1/3] Fix install in LXC because of missing /proc/sys/net/core/rmem_max --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index d2a7009..12c341d 100644 --- a/scripts/install +++ b/scripts/install @@ -130,7 +130,7 @@ ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_f cp ../conf/settings.json /etc/transmission-daemon/settings.json cp ../conf/90-transmission.conf /etc/sysctl.d/90-transmission.conf -if [ ${PACKAGE_CHECK_EXEC:-0} -eq 0 ]; then +if [ -e /proc/sys/net/core/rmem_max ]; then sysctl --load=/etc/sysctl.d/90-transmission.conf fi diff --git a/scripts/restore b/scripts/restore index a7b7a12..aa7f7b9 100644 --- a/scripts/restore +++ b/scripts/restore @@ -74,7 +74,7 @@ ynh_secure_remove --file=/etc/transmission-daemon/settings.json ynh_restore_file --origin_path=/etc/transmission-daemon/settings.json ynh_restore_file --origin_path="/etc/sysctl.d/90-transmission.conf" -if [ ${PACKAGE_CHECK_EXEC:-0} -eq 0 ]; then +if [ -e /proc/sys/net/core/rmem_max ]; then sysctl --load=/etc/sysctl.d/90-transmission.conf fi diff --git a/scripts/upgrade b/scripts/upgrade index 9ad3d67..0062157 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -138,7 +138,7 @@ cp ../conf/settings.json /etc/transmission-daemon/settings.json ynh_backup_if_checksum_is_different --file=/etc/sysctl.d/90-transmission.conf cp ../conf/90-transmission.conf /etc/sysctl.d/90-transmission.conf -if [ ${PACKAGE_CHECK_EXEC:-0} -eq 0 ]; then +if [ -e /proc/sys/net/core/rmem_max ]; then sysctl --load=/etc/sysctl.d/90-transmission.conf fi From 4b2eedfa842adf4263d4c96ebaef01d7581744c5 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Sun, 29 Mar 2020 13:52:27 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f74c818..4d0b630 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Transmission app for YunoHost -[![Integration level](https://dash.yunohost.org/integration/transmission.svg)](https://dash.yunohost.org/appci/app/transmission) +[![Integration level](https://dash.yunohost.org/integration/transmission.svg)](https://dash.yunohost.org/appci/app/transmission) ![](https://ci-apps.yunohost.org/ci/badges/transmission.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/transmission.maintain.svg) [![Install Transmission with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=transmission) > *This package allow you to install Transmission quickly and simply on a YunoHost server. From a425966ba4999c4945bdead7f82a48e85a50c3de Mon Sep 17 00:00:00 2001 From: Kayou Date: Wed, 15 Apr 2020 10:28:22 +0200 Subject: [PATCH 3/3] fix readme md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d0b630..0213153 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Transmission is a fast, easy, and free BitTorrent client. ## Limitations ## Additionnal informations -``` + ## Links