summaryrefslogtreecommitdiff
path: root/db-update
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2009-07-09 17:29:31 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-07-14 14:44:30 -0700
commit052b35e8e0d4aec5c2936f4fea21a29fa24d233e (patch)
tree3897889d7c83e3c08aac4753be90eb6dac517e54 /db-update
parentd0386030626fda74e6dd370fcd3157c4d93501af (diff)
remove redefined function
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
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