Skip to content

Commit

Permalink
dom0-updates: allow ^ in package name
Browse files Browse the repository at this point in the history
This exists:
google-noto-sans-mono-fonts-20201206^1.git0c78c8329-7.fc37.noarch.rpm

QubesOS/qubes-issues#6982

(cherry picked from commit bf4ab41)
  • Loading branch information
marmarek committed Jul 24, 2023
1 parent a3f7494 commit 73e9b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dom0-updates/qubes-receive-updates
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ comps_file = None
if os.path.exists('/usr/share/qubes/Qubes-comps.xml'):
comps_file = '/usr/share/qubes/Qubes-comps.xml'

package_regex = re.compile(r"^[A-Za-z0-9._+-]{1,128}\.rpm$")
package_regex = re.compile(r"^[A-Za-z0-9._+^-]{1,128}\.rpm$")
# example valid outputs:
# .....rpm: digests signatures OK
# example INVALID outputs:
Expand Down

0 comments on commit 73e9b91

Please sign in to comment.