aboutsummaryrefslogtreecommitdiff
path: root/common/hooks/pre-pkg
diff options
context:
space:
mode:
authorEnno Boland <g@s01.de>2014-08-13 20:19:30 +0000
committerEnno Boland <g@s01.de>2014-08-13 20:19:30 +0000
commitd29b40ee4653a9ebd7b337941e40230a5261b2a4 (patch)
treeb154d1ffcacac94e3300851a02265d30ae15aee7 /common/hooks/pre-pkg
parent179c07cc302d4631ca569e484973b6c4f7dd65a0 (diff)
downloadvoid-packages-d29b40ee4653a9ebd7b337941e40230a5261b2a4.tar
void-packages-d29b40ee4653a9ebd7b337941e40230a5261b2a4.tar.gz
void-packages-d29b40ee4653a9ebd7b337941e40230a5261b2a4.tar.bz2
void-packages-d29b40ee4653a9ebd7b337941e40230a5261b2a4.tar.lz
void-packages-d29b40ee4653a9ebd7b337941e40230a5261b2a4.tar.xz
void-packages-d29b40ee4653a9ebd7b337941e40230a5261b2a4.tar.zst
void-packages-d29b40ee4653a9ebd7b337941e40230a5261b2a4.zip
common/hooks: use ln -f instead of cp
Diffstat (limited to 'common/hooks/pre-pkg')
-rw-r--r--common/hooks/pre-pkg/01-xdelta_repolist.sh2
1 files changed, 1 insertions, 1 deletions
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
}