pkgtools

morpheus pkg tools
git clone git://git.2f30.org/pkgtools
Log | Files | Refs | README | LICENSE

commit 5d79ad69c7c5ec16f91f20fc009b1acb6924e859
parent d8470f74683e6e455f2f05cdbecf9703ae35dab1
Author: sin <sin@2f30.org>
Date:   Tue, 10 Jun 2014 15:50:37 +0100

Do the urldecode as necessary

Diffstat:
Mfetchpkg | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fetchpkg b/fetchpkg @@ -1,5 +1,6 @@ #!/bin/sh cat /dev/stdin | while read pkg; do - curl -O -J "$pkg" + filename=$(echo $(basename "$pkg") | sed 's/%23/#/') + curl "$pkg" > "$filename" done