Skip to content

Commit

Permalink
Merge pull request #342 from MrAnno/fix-pkg-nightly-remove
Browse files Browse the repository at this point in the history
package-indexer: fix removing outdated nightly packages
  • Loading branch information
alltilla authored Oct 16, 2024
2 parents fbd0d0f + 21f4518 commit 890a6f5
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 890a6f5

Please sign in to comment.