diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-05-22 18:53:47 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-05-22 18:53:47 +0200 |
commit | 41bf0372aacd5737f31968d6a274e813301b69cc (patch) | |
tree | 9c6683264002617b8f035a35e0bbf6a32e334251 | |
parent | a0c4daf2679a56f6eaa7df0062c7184fc55f95bf (diff) | |
download | dbscripts-41bf0372aacd5737f31968d6a274e813301b69cc.tar.gz dbscripts-41bf0372aacd5737f31968d6a274e813301b69cc.tar.xz |
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-x | db-update | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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="" |