pkgtools

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

commit d8470f74683e6e455f2f05cdbecf9703ae35dab1
parent b8fa41fe4c24b03f6f401d48bed66ae410168955
Author: sin <sin@2f30.org>
Date:   Tue, 10 Jun 2014 15:40:57 +0100

Add fetchpkg

Diffstat:
MMakefile | 1+
Afetchpkg | 5+++++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -13,6 +13,7 @@ SRC = \ removepkg.c SHPROG = \ + fetchpkg \ searchpkg OBJ = $(SRC:.c=.o) $(LIB) diff --git a/fetchpkg b/fetchpkg @@ -0,0 +1,5 @@ +#!/bin/sh + +cat /dev/stdin | while read pkg; do + curl -O -J "$pkg" +done