From b3c93a0398c644d86706fba1cc117c3456fee14d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 27 Jun 2008 23:50:36 +0200 Subject: bin/pkg: check_valid: Forgot to add git --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/pkg') diff --git a/bin/pkg b/bin/pkg index f830567..134264f 100755 --- a/bin/pkg +++ b/bin/pkg @@ -30,7 +30,7 @@ check_installed () { } check_valid () { - [ -d $PDIR/$1/.hg ] || die "Not a valid package name: '$1'\n" + [ -d $PDIR/$1/.hg -o -d $PDIR/$1/.git ] || die "Not a valid package name: '$1'\n" } clear_line () { -- cgit v1.2.3