mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 20:22:46 +00:00
flip condition so new files are added and existing files are copied
This commit is contained in:
parent
ed02340409
commit
a1d178e283
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class Releaser(object):
|
|||
base_filename = os.path.basename(copy_me)
|
||||
dest_path = os.path.join(dest_dir, base_filename)
|
||||
|
||||
if os.path.exists(dest_path):
|
||||
if not os.path.exists(dest_path):
|
||||
print(" adding: %s" % base_filename)
|
||||
new_files.append(base_filename)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue