Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#76753 - [updpkgsums] Respect the original quotes

Attached to Project: Pacman
Opened by tocic (tocic) - Tuesday, 06 December 2022, 09:49 GMT
Last edited by Allan McRae (Allan) - Tuesday, 06 December 2022, 10:02 GMT
Task Type Feature Request
Category Scripts & Tools
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 6.0.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

`makepkg -g` generates checksums in the form:

> SUMTYPE=('SUM')

`updpkgsums` inserts it as is (https://gitlab.archlinux.org/pacman/pacman-contrib/-/blob/master/src/updpkgsums.sh.in#L102).

I'd like `updpkgsums` to respect the original type of the quotation marks (and their presence), so that it doesn't modify anything but the sums if the PKGBUILD to be updated is in the following forms:

> SUMTYPE=("SUM")
>
> SUMTYPE=(SUM)
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 06 December 2022, 10:02 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Not a pacman issue.

File at:
https://gitlab.archlinux.org/pacman/pacm an-contrib/-/issues

Loading...