diff options
author | Sebastian Nowicki <sebnow@gmail.com> | 2008-05-20 19:51:38 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-05-29 13:37:13 +0200 |
commit | 1d71079c5b57af2feb53fbfa98f93122a32ca154 (patch) | |
tree | d76d6f9a2a8b0e03ac0edd3296436e2272dc8b4f /lib/libalpm/backup.h | |
parent | bf2964dc5841f49d1d5ab60181b0caa4670c1874 (diff) | |
download | pacman-1d71079c5b57af2feb53fbfa98f93122a32ca154.tar.gz pacman-1d71079c5b57af2feb53fbfa98f93122a32ca154.tar.xz |
Replace usage of "cp -s" with the more portable "ln -s"
The "-s" argument does not exist on BSD, and neither does
"--remove-destination". This patch replaces the calls to "cp -s
--remove-destination" with the equivalent "rm -f" and "ln -s" calls, in
order to increase portability.
Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/backup.h')
0 files changed, 0 insertions, 0 deletions