pacman-db-upgrade: be more verbose
People have mentioned that the silent upgrade to DB version 9 when no adjustments are needed for directory symlinks is confusion. Always print the upgrading message. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
c8448bb466
commit
23850c7c99
1 changed files with 2 additions and 2 deletions
|
@ -167,6 +167,8 @@ if [[ -z "$db_version" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# pacman 4.1 to 4.2 upgrade - remove directory symlink support
|
# pacman 4.1 to 4.2 upgrade - remove directory symlink support
|
||||||
|
msg "$(gettext "Pre-4.2 database format detected - upgrading...")"
|
||||||
|
|
||||||
dirlist=()
|
dirlist=()
|
||||||
|
|
||||||
unset GREP_OPTIONS
|
unset GREP_OPTIONS
|
||||||
|
@ -180,8 +182,6 @@ if [[ -z "$db_version" ]]; then
|
||||||
done)
|
done)
|
||||||
|
|
||||||
if [[ ${#dirlist[@]} != 0 ]]; then
|
if [[ ${#dirlist[@]} != 0 ]]; then
|
||||||
msg "$(gettext "Pre-4.2 database format detected - upgrading...")"
|
|
||||||
|
|
||||||
pacroot="$(resolve_dir "$pacroot")"
|
pacroot="$(resolve_dir "$pacroot")"
|
||||||
|
|
||||||
for dir in "${dirlist[@]}"; do
|
for dir in "${dirlist[@]}"; do
|
||||||
|
|
Loading…
Add table
Reference in a new issue