Skip to content

Commit

Permalink
[backend] publisher: do not remove arch linux symlinks in deleterepo_…
Browse files Browse the repository at this point in the history
…staticlinks()
  • Loading branch information
mlschroe authored and adrianschroeter committed Feb 13, 2013
1 parent 90d8122 commit c7da316
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/bs_publish
Expand Up @@ -689,6 +689,7 @@ sub deleterepo_staticlinks {
next unless -d "$extrep/$arch";
for (ls("$extrep/$arch")) {
next unless -l "$extrep/$arch/$_";
next if /\.(?:db|files)(?:\.sig)?$/;
unlink("$extrep/$arch/$_");
}
}
Expand Down

0 comments on commit c7da316

Please sign in to comment.