summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-05-22 12:53:47 -0400
committerAaron Griffin <aaronmgriffin@gmail.com>2008-05-22 12:53:47 -0400
commit41bf0372aacd5737f31968d6a274e813301b69cc (patch)
tree9c6683264002617b8f035a35e0bbf6a32e334251
parenta0c4daf2679a56f6eaa7df0062c7184fc55f95bf (diff)
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 <aaronmgriffin@gmail.com>
-rwxr-xr-xdb-update3
1 files changed, 2 insertions, 1 deletions
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=""