FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 08-16-2011, 03:56 AM
Allan McRae
 
Default 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>
---
scripts/repo-add.sh.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in
index fd0c814..29b150c 100644
--- a/scripts/repo-add.sh.in
+++ b/scripts/repo-add.sh.in
@@ -661,7 +661,7 @@ if (( success )); then
ln -s "$target" "$dblink" 2>/dev/null ||
ln "$target" "$dblink" 2>/dev/null ||
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 "$target.sig" "$dblink.sig" 2>/dev/null ||
cp "$REPO_DB_FILE.sig" "$dblink.sig"
--
1.7.6
 

Thread Tools




All times are GMT. The time now is 04:56 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org