Commit 08d9487
pacman-helper quick_remove: allow specifying package names
Instead of filenames, it is much more natural to specify the package
name. One caveat is that the package name must also contain the CPU
architecture in that case, but it can leave out the version number.
For example, instead of
pacman-helper.sh quick_remove cyrus-sasl-2.1.28-2-i686.pkg.tar.xz
one can now write
pacman-helper.sh quick_remove cyrus-sasl-i686
To make this safer with regards to package names that end in
`-<digit>[...]` (like `msys2-runtime-3.3`), either the full version has
to be provided, including pkgrel, or the version has to be omitted.
Co-authored-by: Jeremy Drake <[email protected]>
Signed-off-by: Johannes Schindelin <[email protected]>1 parent 7f37678 commit 08d9487
1 file changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
277 | 293 | | |
278 | 294 | | |
279 | 295 | | |
| |||
413 | 429 | | |
414 | 430 | | |
415 | 431 | | |
416 | | - | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
417 | 437 | | |
418 | 438 | | |
419 | 439 | | |
| |||
0 commit comments