Skip to content

Commit

Permalink
fix: any storage
Browse files Browse the repository at this point in the history
  • Loading branch information
ook37 committed Jan 10, 2025
1 parent 802ffc4 commit 8c61af2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,12 @@ def alter_package(name, distros, architectures, overflow=5):
print(f"Error: '{arch}' is not supported by package '{name}'\nSupported architectures: {', '.join(available_architectures)}")
sys.exit(1)

if 'any' in architectures:
architectures = ['any']

data[name] = {
"distros": distros,
"architectures": adjust_architectures(architectures),
"architectures": architectures,
"maxOverflow": overflow,
"lastUpdatedAt": last_updated,
}
Expand Down

0 comments on commit 8c61af2

Please sign in to comment.