From 18ec5cc6ced39195c863781c0d8323dbb585feea Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 10 Oct 2006 22:38:45 +0000 Subject: [PATCH] use bsd md5 in ipkg if md5sum is not available SVN-Revision: 5045 --- openwrt/scripts/ipkg | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2