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 committed Feb 13, 2013
1 parent cd69268 commit 85de4ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/bs_publish
Original file line number Diff line number Diff line change
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 85de4ed

Please sign in to comment.