[packages] transmission: don't convert value for config file
authorCezary Jackiewicz <cezary@eko.one.pl>
Tue, 23 Nov 2010 16:02:15 +0000 (16:02 +0000)
committerCezary Jackiewicz <cezary@eko.one.pl>
Tue, 23 Nov 2010 16:02:15 +0000 (16:02 +0000)
SVN-Revision: 24115

net/transmission/Makefile
net/transmission/files/transmission.init

index 4c91d1e..8b9fa55 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=transmission
 PKG_VERSION:=2.12
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://mirrors.m0k.org/transmission/files
index 80fdf85..eec3b56 100644 (file)
@@ -27,7 +27,8 @@ append_params_quotes() {
                IFS="$LIST_SEP"
                for v in $v; do
                        [ -n "$v" ] && (
-                               echo "\""$p"\": \""$v"\"," | sed -e 's|/|\\/|g;s|_|-|g' >> $config_dir/settings.json
+                               echo -n "\""$p | sed -e 's|/|\\/|g;s|_|-|g' >> $config_dir/settings.json; \
+                               echo "\": \""$v"\"," >> $config_dir/settings.json
                        )
                done
                unset IFS