extras-buildsys/utils extras-sign-move.py,1.11,1.12
Seth Vidal (skvidal)
fedora-extras-commits at redhat.com
Sun Apr 23 18:40:03 UTC 2006
Author: skvidal
Update of /cvs/fedora/extras-buildsys/utils
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9077
Modified Files:
extras-sign-move.py
Log Message:
if the file already exists, unlink it - this lets us sneak out silent
changes
Index: extras-sign-move.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/extras-sign-move.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- extras-sign-move.py 23 Apr 2006 13:44:36 -0000 1.11
+++ extras-sign-move.py 23 Apr 2006 18:40:01 -0000 1.12
@@ -243,6 +243,8 @@
rpmloc = os.path.join(destdir, arch, pkg_fn)
debugprint("Copying %s to %s" % (package, rpmloc))
if not DEBUG:
+ if os.path.exists(rpmloc):
+ os.unlink(rpmloc)
shutil.copy2(package, rpmloc)
if not DEBUG:
More information about the fedora-extras-commits
mailing list