Skip to content

Commit

Permalink
Merge branch 'pr-28'
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxboron committed Dec 5, 2020
2 parents 48e9539 + 2b320f6 commit 395a57d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SCRIPTS = \
package/pkgsearch \
package/staging2testing \
security/security-tracker-check \
package/cleanup-list.py \
package/cleanup-list \
package/srcinfo-pkg-graph \


Expand Down
8 changes: 6 additions & 2 deletions package/cleanup-list.py → package/cleanup-list
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import io
import os
import sys
import tarfile
import tempfile

Expand Down Expand Up @@ -155,9 +156,12 @@ def get_maintainers(repo, arch, pkgname):


def main():
packages = get_packages()
archweb_orphans = get_orphans()
if sys.argv[-1] == '-':
archweb_orphans = {line.rstrip() for line in sys.stdin}
else:
archweb_orphans = get_orphans()

packages = get_packages()
unneeded = find_unneeded_orphans(packages, archweb_orphans)
required_orphans = {}

Expand Down

0 comments on commit 395a57d

Please sign in to comment.