diff options
author | Enno Boland <g@s01.de> | 2014-08-13 20:19:30 +0000 |
---|---|---|
committer | Enno Boland <g@s01.de> | 2014-08-13 20:19:30 +0000 |
commit | d29b40ee4653a9ebd7b337941e40230a5261b2a4 (patch) | |
tree | b154d1ffcacac94e3300851a02265d30ae15aee7 /common/hooks/pre-pkg | |
parent | 179c07cc302d4631ca569e484973b6c4f7dd65a0 (diff) | |
download | void-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.sh | 2 |
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 } |