summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-27 23:50:36 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-27 23:50:36 +0200
commitb3c93a0398c644d86706fba1cc117c3456fee14d (patch)
tree3a5fd038184c2154d82bf12ebe501d9e8685df8f
parent3ccd9ab9bee609b7563d3a7d3ee65ffe1bebdd20 (diff)
bin/pkg: check_valid: Forgot to add git
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
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 () {