Skip to content

Commit

Permalink
package-indexer: fix removing outdated nightly packages
Browse files Browse the repository at this point in the history
Signed-off-by: László Várady <[email protected]>
  • Loading branch information
MrAnno committed Oct 16, 2024
1 parent fbd0d0f commit 21f4518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/package-indexer/indexer/deb_indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def __get_pkg_timestamps_in_dir(self, dir: Path) -> List[str]:
timestamp_regexp = re.compile(r"\+([^_]+)_")
pkg_timestamps: List[str] = []

for deb_file in dir.rglob("syslog-ng-core*.deb"):
for deb_file in dir.rglob("axosyslog-core*.deb"):
pkg_timestamp = timestamp_regexp.findall(deb_file.name)[0]
pkg_timestamps.append(pkg_timestamp)
pkg_timestamps.sort()
Expand Down

0 comments on commit 21f4518

Please sign in to comment.