[kernel] r16306 - dists/trunk/firmware-nonfree/debian/bin
Ben Hutchings
benh at alioth.debian.org
Sat Sep 18 00:38:29 UTC 2010
Author: benh
Date: Sat Sep 18 00:38:24 2010
New Revision: 16306
Log:
Remove existing file/symlink when creating bug-presubj symlink
Modified:
dists/trunk/firmware-nonfree/debian/bin/gencontrol.py
Modified: dists/trunk/firmware-nonfree/debian/bin/gencontrol.py
==============================================================================
--- dists/trunk/firmware-nonfree/debian/bin/gencontrol.py Sat Sep 18 00:35:11 2010 (r16305)
+++ dists/trunk/firmware-nonfree/debian/bin/gencontrol.py Sat Sep 18 00:38:24 2010 (r16306)
@@ -204,6 +204,10 @@
vars['license'] = file("%s/LICENSE" % package).read()
file("debian/firmware-%s.copyright" % package, 'w').write(self.substitute(copyright, vars))
+ try:
+ os.unlink('debian/firmware-%s.bug-presubj' % package)
+ except OSError:
+ pass
os.symlink('bug-presubj', 'debian/firmware-%s.bug-presubj' % package)
files_orig = config_entry['files']
More information about the Kernel-svn-changes
mailing list