summaryrefslogtreecommitdiffstats
path: root/db-update
diff options
context:
space:
mode:
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update11
1 files changed, 0 insertions, 11 deletions
diff --git a/db-update b/db-update
index 5b011c2..1883a58 100755
--- a/db-update
+++ b/db-update
@@ -44,17 +44,6 @@ if [ -d "${stagedir}/add" ]; then
/bin/mv "${stagedir}/add/"* "$stagedir/"
fi
-# Get the package name from the filename
-# hackish, but should work for now
-getpkgname() {
- local tmp
-
- tmp=${1##*/}
- tmp=${tmp%$PKGEXT}
- tmp=${tmp%-$current_arch}
- echo ${tmp%-*-*}
-}
-
cleanup() {
trap '' 0 2
# unlock