From 66d593afe8942cf295a4d4392faf5267d91ea490 Mon Sep 17 00:00:00 2001 From: opi Date: Thu, 4 Dec 2014 11:42:49 +0100 Subject: [PATCH] [enh] Add target blank to downloads button. --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index b118002..96846ab 100644 --- a/scripts/install +++ b/scripts/install @@ -46,7 +46,7 @@ sudo yunohost service add transmission-daemon # Patch sources to add a download button sudo cp ../sources/toolbar-downloads.png /usr/share/transmission/web/style/transmission/images/toolbar-downloads.png sudo bash -c 'cat ../sources/ynh_common.css >> /usr/share/transmission/web/style/transmission/common.css' -sudo sed -i "s@
@
@g" /usr/share/transmission/web/index.html +sudo sed -i "s@
@
@g" /usr/share/transmission/web/index.html # Configure Nginx and reload sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf diff --git a/scripts/upgrade b/scripts/upgrade index 96b1ccc..7e12052 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -29,7 +29,7 @@ if ! grep 'toolbar-downloads' /usr/share/transmission/web/index.html --quiet; th sudo cp ../sources/toolbar-downloads.png /usr/share/transmission/web/style/transmission/images/toolbar-downloads.png sudo bash -c 'cat ../sources/ynh_common.css >> /usr/share/transmission/web/style/transmission/common.css' - sudo sed -i "s@
@
@g" /usr/share/transmission/web/index.html + sudo sed -i "s@
@
@g" /usr/share/transmission/web/index.html fi