summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-09-28 20:05:06 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-09-28 20:07:31 +0200
commitd39fecd95188ca1f51cadefb6dad605a10a9ddb7 (patch)
treec52213ae42a1d151226b1874b9878c681022780c /bin/pkg
parent77723bb0fab0ff222127cc4f77e19e648f7c8072 (diff)
Began adding the 'plain' package type
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/pkg b/bin/pkg
index b23c346..e777be6 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -154,6 +154,9 @@ vcs_to_list () {
} elif [[ -d $1/.git ]] {
echo -n "$1 git "
git --git-dir=$1/.git log | fgrep commit | head -n 1 | cut -d ' ' -f 2
+ } else {
+ echo -n "$i plain " >> .list
+ ls -ablR $i | md5sum | cut -d ' ' -f 1 >> .list
}
}