X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b158fa0badfb05d1d5ddcdeca98b19101de0f1fe..82287902c7a6a5a2cc7510cc5e1f520febfa62b9:/scripts/ipkg?ds=sidebyside diff --git a/scripts/ipkg b/scripts/ipkg index 57e4457cc..97a315142 100755 --- a/scripts/ipkg +++ b/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