Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/makepkg-template.pl.in
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2016-03-29 22:00:02 +1000
committerAllan McRae <allan@archlinux.org>2016-05-18 15:45:55 +1000
commit7bebe4deff0afd4e220b5c4d6024bffb08bd794f (patch)
tree2edac939329bbb0577494f3c0ab8af00b790ab40 /scripts/makepkg-template.pl.in
parent02a0bf550a22e199f48537b7eee87361b112e8a0 (diff)
Report local file URL for -Sp operations if package is in cache
When using "pacman -Sp" operation to get URLs of packages to download, it is useful to know which packages are already in the file cache and do not need downloaded. Print packages in the cache with a file:// prefix. e.g $ pacman -Sp glibc file:///var/cache/pacman/glibc-2.23-1-x86_64.pkg.tar.xz Also use package locations in case statements rather than opersations. This allows the ALPM_PKG_SYNCDB to fall thorough to just printing the package name for weird serverless repo setups. Fixes FS#15868 Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/makepkg-template.pl.in')
0 files changed, 0 insertions, 0 deletions