Changeset aa9e3a2 for pkgtools/pkg


Ignore:
Timestamp:
09/30/09 08:36:06 (11 years ago)
Author:
Paweł Foremski <pjf@…>
Branches:
master
Children:
3baa071
Parents:
b25fc75
Message:

wip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pkgtools/pkg

    rb25fc75 raa9e3a2  
    215215                line=`egrep -m1 "^$file " ../package-$repo.md5`
    216216                if [ -z "$line" ]; then
    217                         echo "FAILED: file not on list!"; break
     217                        echo "FAILED: file not on list"; break
    218218                fi
    219219
    220220                set -- $line
    221221                if [ "`md5sum $file | cut -b 1-32`" != "$2" ]; then
    222                         echo "ERROR: MD5 check failed!"; break
     222                        echo "ERROR: MD5 check failed"; break
    223223                elif [ "`sha1sum $file | cut -b 1-40`" != "$3" ]; then
    224                         echo "ERROR: SHA1 check failed!"; break
     224                        echo "ERROR: SHA1 check failed"; break
    225225                elif [ "`du -b $file | cut -f1`" != "$4" ]; then
    226                         echo "ERROR: SIZE check failed!"; break
     226                        echo "ERROR: SIZE check failed"; break
    227227                fi
    228228
Note: See TracChangeset for help on using the changeset viewer.