mirror of
https://github.com/moparisthebest/pacman
synced 2025-02-28 09:21:53 -05:00
repo-add: fix creation of signature symlink
When creating a repo outside the current directory, the signature symlink was not created. Reported-by: Gaetan Bisson <bisson@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
1175702828
commit
f41dc7e8fa
@ -661,7 +661,7 @@ if (( success )); then
|
|||||||
ln -s "$target" "$dblink" 2>/dev/null || \
|
ln -s "$target" "$dblink" 2>/dev/null || \
|
||||||
ln "$target" "$dblink" 2>/dev/null || \
|
ln "$target" "$dblink" 2>/dev/null || \
|
||||||
cp "$REPO_DB_FILE" "$dblink"
|
cp "$REPO_DB_FILE" "$dblink"
|
||||||
if [[ -f "$target.sig" ]]; then
|
if [[ -f "$REPO_DB_FILE.sig" ]]; then
|
||||||
ln -s "$target.sig" "$dblink.sig" 2>/dev/null || \
|
ln -s "$target.sig" "$dblink.sig" 2>/dev/null || \
|
||||||
ln "$target.sig" "$dblink.sig" 2>/dev/null || \
|
ln "$target.sig" "$dblink.sig" 2>/dev/null || \
|
||||||
cp "$REPO_DB_FILE.sig" "$dblink.sig"
|
cp "$REPO_DB_FILE.sig" "$dblink.sig"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user