diff options
author | Dan McGee <dan@archlinux.org> | 2008-06-14 17:48:28 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-06-14 17:48:28 +0200 |
commit | 89819b3f9268062ee54c35a16876474414d94bf5 (patch) | |
tree | bd9b7d62c2a979dc6561507257e266b469cb297d /scripts/rankmirrors.py.in | |
parent | c11bdf19b1b8ab40468561dc592b9c6bd7f86acf (diff) | |
download | pacman-89819b3f9268062ee54c35a16876474414d94bf5.tar.gz pacman-89819b3f9268062ee54c35a16876474414d94bf5.tar.xz |
repo-*: allow use of readlink or realpath
Linux coreutils provides readlink, and BSD systems tend to have realpath
available. Both commands provide similar functionality but of course have
different names. Add a check for either and use what is available.
While doing this, also unify some of the differences that have cropped up
between repo-add and repo-remove.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/rankmirrors.py.in')
0 files changed, 0 insertions, 0 deletions