summaryrefslogtreecommitdiff
path: root/include/pkglist
diff options
context:
space:
mode:
Diffstat (limited to 'include/pkglist')
-rwxr-xr-xinclude/pkglist5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/pkglist b/include/pkglist
index 95beb9c..f3d15e0 100755
--- a/include/pkglist
+++ b/include/pkglist
@@ -2,7 +2,7 @@
cd $1 || exit 100
-rm .list
+rm -f .list
for i in *(/,@); {
if [[ -d $i/.hg ]] {
@@ -12,7 +12,6 @@ for i in *(/,@); {
echo -n "$i git " >> .list
git --git-dir=$i/.git log | fgrep commit | head -n 1 | cut -d ' ' -f 2 >> .list
} else {
- echo -n "$i plain " >> .list
- ls -ablR $i | md5sum | cut -d ' ' -f 1 >> .list
+ echo "Unsupported package: $i" >&2
}
}