[pacman-dev] [PATCH] repo-add: Remove .tmp. prefix from output

Allan McRae allan at archlinux.org
Sun Nov 20 00:33:23 EST 2011


Signed-off-by: Allan McRae <allan at archlinux.org>
---

This is a follow-up from Dan's repo-add patches.

 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 fc008fc..4659129 100644
--- a/scripts/repo-add.sh.in
+++ b/scripts/repo-add.sh.in
@@ -195,7 +195,7 @@ create_signature() {
 	gpg --detach-sign --use-agent ${SIGNWITHKEY} "$dbfile" &>/dev/null || ret=$?
 
 	if (( ! ret )); then
-		msg2 "$(gettext "Created signature file %s.")" "${dbfile##*/}.sig"
+		msg2 "$(gettext "Created signature file %s.")" "${dbfile##*/.tmp.}.sig"
 	else
 		warning "$(gettext "Failed to sign package database.")"
 	fi
-- 
1.7.7.3



More information about the pacman-dev mailing list