From 3eb0f6abdb822ae15bcc72626dcdad37c0313927 Mon Sep 17 00:00:00 2001
From: Pierre Schmitz <pierre@archlinux.de>
Date: Sun, 8 Aug 2010 11:42:27 +0200
Subject: Remove check for old staging dirs

devtools take care of this anyway
---
 db-update | 20 --------------------
 1 file changed, 20 deletions(-)

(limited to 'db-update')

diff --git a/db-update b/db-update
index 057de39..9dd5c9d 100755
--- a/db-update
+++ b/db-update
@@ -34,26 +34,6 @@ if [ ! -d $stagedir ]; then
 	exit 1
 fi
 
-if [ -d "${stagedir}64" ]; then
-	echo "--------------------------------------------------"
-	echo "It looks like you have an old staging dir"
-	echo "Packages are now differentiated by the arch in the filename."
-	echo "Please delete '${stagedir}64'"
-	echo "--------------------------------------------------"
-	/bin/mv "${stagedir}64/add/"* "$stagedir/add/"
-	/bin/mv "${stagedir}64/del/"* "$stagedir/del/"
-fi
-
-if [ -d "${stagedir}/add" ]; then
-	echo "--------------------------------------------------"
-	echo "It looks like you have an old staging dir"
-	echo "The 'add' and 'del' dirs are no longer used."
-	echo "Please delete staging/<reponame>/{add,del}"
-	echo " and ensure you are using the newest devtools"
-	echo "--------------------------------------------------"
-	/bin/mv "${stagedir}/add/"* "$stagedir/"
-fi
-
 cleanup() {
     trap '' 0 2
 	repo_unlock $reponame $current_arch
-- 
cgit v1.2.3-2-g168b