From 052b35e8e0d4aec5c2936f4fea21a29fa24d233e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 9 Jul 2009 17:29:31 +0200 Subject: remove redefined function Signed-off-by: Aaron Griffin --- db-update | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'db-update') 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 -- cgit v1.2.3