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.
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.
FS#20498 - repo-add: creates absolute symlinks to db file
Attached to Project:
Pacman
Opened by Pierre Schmitz (Pierre) - Tuesday, 17 August 2010, 18:16 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 18 August 2010, 18:45 GMT
Opened by Pierre Schmitz (Pierre) - Tuesday, 17 August 2010, 18:16 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 18 August 2010, 18:45 GMT
|
Detailsrepo-add creates a symlink called $repo.db to the specific file to support different compression types. Unfortunatly these symlinks are absolute and as such broken on every mirror that does not match our file system layout.
See http://projects.archlinux.org/pacman.git/tree/scripts/repo-add.sh.in#n491 Suggestion: Use $(basename "$REPO_DB_FILE") |
This task depends upon
Anyway, I'd prefer a bash string manipulation over basename. Otherwise fine.