From d29b40ee4653a9ebd7b337941e40230a5261b2a4 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Wed, 13 Aug 2014 22:19:30 +0200 Subject: common/hooks: use ln -f instead of cp --- common/hooks/pre-pkg/01-xdelta_repolist.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/hooks/pre-pkg/01-xdelta_repolist.sh b/common/hooks/pre-pkg/01-xdelta_repolist.sh index b12d076ef70..04d55d04c61 100644 --- a/common/hooks/pre-pkg/01-xdelta_repolist.sh +++ b/common/hooks/pre-pkg/01-xdelta_repolist.sh @@ -5,6 +5,6 @@ hook() { # create links to preserve old versions of repodata find $XBPS_REPOSITORY -name '*-repodata' | while read; do - cp "${REPLY}" "${REPLY}.genVcdiff" + ln -f "${REPLY}" "${REPLY}.genVcdiff" done } -- cgit v1.2.3