tupkgupdate: remove dead code

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
Dan McGee 2008-11-11 19:37:21 -06:00 committed by Loui Chang
parent 3c8442d70c
commit 53bb32a15a

View file

@ -564,12 +564,6 @@ for file in delete:
if (switches.get("--delete") == True): if (switches.get("--delete") == True):
for file in copy: for file in copy:
deleteFile(file) deleteFile(file)
# Run gensync to build the repo index
#if (len(copy) + len(delete) > 0):
# retval = runGensync(repo_dir, pkgbuild_dir)
# if (retval != 0):
# error("Gensync returned an error!")
# sys.exit(-1)
# Run updatesync where it is needed # Run updatesync where it is needed
for package in dbremove: for package in dbremove: