diff --git a/lib/libnetwork.lib.in b/lib/libnetwork.lib.in index 673332a..8753db1 100644 --- a/lib/libnetwork.lib.in +++ b/lib/libnetwork.lib.in @@ -232,7 +232,7 @@ getting list of files from"" \`${NOTE}$currurl/${NORM}'..." notify.debug "$FUNCNAME: curl return code: $retval" case "$retval" in - 0) sed -i 's/\x0D$//' $currflist + 0) sed -i 's/\x0D$//;/%2B/+/g' $currflist flist[$i]="$currflist" ;; 6) notify.warning $"couldn't resolve host" let "errors += 1" ;; @@ -424,7 +424,7 @@ ${proxy:+ --proxy ***}${proxy_user:+ --proxy-user ***}" esac if [ -s "$flist" ]; then - sed -i 's/\x0D$//' $flist + sed -i 's/\x0D$//;s/%2B/+/g' $flist case $currurl in ftp://*|http://*|https://*) for pck_name in ${pck_names[@]}; do