From 83167fcab9dc5de4e6c1b885b836654c673a7ef4 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 13 Apr 2019 23:00:24 -0400 Subject: hash_name(): Hash src:* packages --- diff --git a/src/dir.sh b/src/dir.sh index 90a41a7..e7489ef 100644 --- a/src/dir.sh +++ b/src/dir.sh @@ -30,6 +30,8 @@ hash_name() hash="$(printf '%s\n' "${name}" | sed 's/^\(lib.\).*$/\1/')" elif [ "x${name}" != "x${name#src-?}" ]; then hash="$(printf '%s\n' "${name}" | sed 's/^\(src-.\).*$/\1/')" + elif [ "x${name}" != "x${name#src:?}" ]; then + hash="$(printf '%s\n' "${name}" | sed 's/^\(src:.\).*$/\1/')" else hash="$(printf '%s\n' "${name}" | sed 's/^\(.\).*$/\1/')" fi -- cgit v0.9.1