repo-add: print the name of the database when extracting
Currently this prints the following message:
==> Extracting database to a temporary location...
==> Extracting database to a temporary location...
This redundancy is potentially confusing and may cause people to think
something is wrong. Historically, this message came from a time when we
only extracted one database, but repo-add was changed to always create
the files database in commit cb0f2bd038
and whole code block with message intact was moved into a for loop and
run (and printed) twice.
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
3dfec574a3
commit
de915c4f14
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,7 @@ prepare_repo_db() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
verify_signature "$dbfile"
|
verify_signature "$dbfile"
|
||||||
msg "$(gettext "Extracting database to a temporary location...")"
|
msg "$(gettext "Extracting %s to a temporary location...")" "${dbfile##*/}"
|
||||||
bsdtar -xf "$dbfile" -C "$tmpdir/$repo"
|
bsdtar -xf "$dbfile" -C "$tmpdir/$repo"
|
||||||
else
|
else
|
||||||
case $cmd in
|
case $cmd in
|
||||||
|
|
Loading…
Add table
Reference in a new issue