summaryrefslogtreecommitdiff
path: root/scripts/ipkg
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ipkg')
-rwxr-xr-xscripts/ipkg2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/ipkg b/scripts/ipkg
index 57e4457cc5..97a3151425 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