index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2006-12-21 01:53:40 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-12-21 01:53:40 +0000 |
commit | 74e347f09bd62872de84b431dcf029090931d199 (patch) | |
tree | 966f7b6b2a35ccaecb61b2119f28a2bad2340a96 /scripts/gensync | |
parent | b1fbcd3ab5cf16b668cfc72d90223f48a329605b (diff) |
-rwxr-xr-x | scripts/gensync | 9 |
diff --git a/scripts/gensync b/scripts/gensync index 8ddee82a..daac7e84 100755 --- a/scripts/gensync +++ b/scripts/gensync @@ -210,10 +210,10 @@ echo "gensync: building database entries, generating md5sums..." >&2 cd `dirname $2` for file in `find $rootdir/* -name PKGBUILD`; do source $file || die "errors parsing $file" - db_write_entry $file || die "error writing entry for $file" - else - echo "gensync: missing package: $pkgfile" >&2 - fi + db_write_entry $file || die "error writing entry for $file" +else + echo "gensync: missing package: $pkgfile" >&2 +fi done echo "gensync: compressing to $destfile..." >&2 @@ -223,4 +223,5 @@ tar c * | gzip -9 >$destfile rm -rf $gstmpdir exit 0 + # vim: set ts=2 sw=2 noet: |