summaryrefslogtreecommitdiff
path: root/db-functions
diff options
context:
space:
mode:
Diffstat (limited to 'db-functions')
-rw-r--r--db-functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/db-functions b/db-functions
index bcc25bb..25bca78 100644
--- a/db-functions
+++ b/db-functions
@@ -41,6 +41,7 @@ getpkgname() {
tmp=${1##*/}
tmp=${tmp%$PKGEXT}
+ tmp=${tmp%$SRCEXT}
tmp=${tmp%-$CARCH}
echo ${tmp%-*-*}
}