From 41bf0372aacd5737f31968d6a274e813301b69cc Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Thu, 22 May 2008 12:53:47 -0400 Subject: Use 'mv' to shuffle files out of the *64 dirs This way, all package files get cleaned up properly at the end of the process. Signed-off-by: Aaron Griffin --- db-update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'db-update') diff --git a/db-update b/db-update index 93672f5..7ff768e 100755 --- a/db-update +++ b/db-update @@ -101,7 +101,8 @@ if [ -d "${stagedir}64" ]; then echo "Packages are now differentiated by the arch in the filename." echo "Please delete '${stagedir}64'" echo "--------------------------------------------------" - /bin/cp -r "${stagedir}64/"* "$stagedir/" + /bin/mv "${stagedir}64/add/"* "$stagedir/add/" + /bin/mv "${stagedir}64/del/"* "$stagedir/del/" fi to_add="" -- cgit v1.2.3-24-g4f1b