From: Felix Fietkau Date: Tue, 10 Oct 2006 22:38:45 +0000 (+0000) Subject: use bsd md5 in ipkg if md5sum is not available X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=18ec5cc6ced39195c863781c0d8323dbb585feea;p=librecmc%2Flibrecmc.git use bsd md5 in ipkg if md5sum is not available SVN-Revision: 5045 --- 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