pkgbuilder icon indicating copy to clipboard operation
pkgbuilder copied to clipboard

pb doesn't pass --overwrite

Open FirefighterBlu3 opened this issue 4 years ago • 1 comments

When attempting to overwrite a previously bungled installation, --overwrite <path> can be used with pacman. This option isn't forwarded from pb to pacman. pb --overwrite foo -S foopkg results in pkgbuilder building the package and attempting to install as pacman -U foopkg and --overwrite <path> is missing

FirefighterBlu3 avatar Dec 06 '21 03:12 FirefighterBlu3

I marked this as help wanted — pull requests with an implementation of this are welcome. This feature would require adding an --overwrite argument to pkgbuilder itself, since pb just runs plain pkgbuilder — and it handles the package install on its own.

Kwpolska avatar Dec 27 '21 20:12 Kwpolska