[packages] transmission: don't convert value for config file
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24115 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7e3f376e4c
commit
ff693773ef
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user