projects
/
openwrt
/
staging
/
chunkeey.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d25689
)
use bsd md5 in ipkg if md5sum is not available
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 10 Oct 2006 22:38:45 +0000
(22:38 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 10 Oct 2006 22:38:45 +0000
(22:38 +0000)
SVN-Revision: 5045
openwrt/scripts/ipkg
patch
|
blob
|
history
diff --git
a/openwrt/scripts/ipkg
b/openwrt/scripts/ipkg
index 57e4457cc5a5a08bcd1b804b78c4aaf5fabd7f25..97a315142574a6951331289bc1a09d2710ed5e63 100755
(executable)
--- a/
openwrt/scripts/ipkg
+++ b/
openwrt/scripts/ipkg
@@
-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