diff options
-rwxr-xr-x | setup.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -106,6 +106,8 @@ setup(name="poezio", 'Screen autoaway plugin': 'pyinotify==0.9.4'}) # Remove the link afterwards -if exists(join(current_dir, 'src', 'default_config.cfg')): +if (exists(join(current_dir, 'src', 'default_config.cfg')) and + exists(join(current_dir, 'data', 'default_config.cfg'))): + unlink(join(current_dir, 'src', 'default_config.cfg')) |