mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:11:53 +02:00
use bsd md5 in ipkg if md5sum is not available
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5045 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b1c736c4bd
commit
8bdfe8ea0c
@ -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 New Issue
Block a user