diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-10-10 22:38:45 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-10-10 22:38:45 +0000 |
commit | 18ec5cc6ced39195c863781c0d8323dbb585feea (patch) | |
tree | 46584d64d76a92d8517051449a6270c973fae5b8 | |
parent | 8d25689f5aa1b039cd43ebf5d66adfe9d5b80515 (diff) | |
download | upstream-18ec5cc6ced39195c863781c0d8323dbb585feea.tar.gz upstream-18ec5cc6ced39195c863781c0d8323dbb585feea.tar.bz2 upstream-18ec5cc6ced39195c863781c0d8323dbb585feea.zip |
use bsd md5 in ipkg if md5sum is not available
SVN-Revision: 5045
-rwxr-xr-x | openwrt/scripts/ipkg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/scripts/ipkg b/openwrt/scripts/ipkg index 57e4457cc5..97a3151425 100755 --- 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 |