diff options
author | Allan McRae <allan@archlinux.org> | 2016-03-29 22:00:02 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-05-18 15:45:55 +1000 |
commit | 7bebe4deff0afd4e220b5c4d6024bffb08bd794f (patch) | |
tree | 2edac939329bbb0577494f3c0ab8af00b790ab40 /scripts/po/da.po | |
parent | 02a0bf550a22e199f48537b7eee87361b112e8a0 (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/po/da.po')
0 files changed, 0 insertions, 0 deletions