repo-add: do not print full path of signature file
The full path to the signature file when it is created is in a temporary directory so only print the filename. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
bf120635a7
commit
49427d1fb4
1 changed files with 1 additions and 1 deletions
|
@ -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##*/}.sig"
|
||||
else
|
||||
warning "$(gettext "Failed to sign package database.")"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue