use bsd md5 in ipkg if md5sum is not available
SVN-Revision: 5045
This commit is contained in:
parent
8d25689f5a
commit
18ec5cc6ce
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@ ipkg_is_upgrade () {
|
|||
return 1
|
||||
}
|
||||
|
||||
which md5sum 2>&1 >/dev/null || alias md5sum=md5
|
||||
|
||||
ipkg_srcs() {
|
||||
local srcre="$1"
|
||||
sed -ne "s/^src[[:space:]]\+$srcre[[:space:]]\+//p" < $IPKG_CONF
|
||||
|
|
Loading…
Reference in a new issue