summaryrefslogtreecommitdiffstats
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 23:44:30 +0200
commit052b35e8e0d4aec5c2936f4fea21a29fa24d233e (patch)
tree3897889d7c83e3c08aac4753be90eb6dac517e54
parentd0386030626fda74e6dd370fcd3157c4d93501af (diff)
downloaddbscripts-052b35e8e0d4aec5c2936f4fea21a29fa24d233e.tar.gz
dbscripts-052b35e8e0d4aec5c2936f4fea21a29fa24d233e.tar.xz
remove redefined function
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-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