diff options
author | Allan McRae <allan@archlinux.org> | 2014-12-22 15:01:57 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-12-24 11:14:50 +1000 |
commit | 23850c7c9995e00d52d09e60eaa95b6285b3146d (patch) | |
tree | d8d187a00e075d33c68a0306958ae04c388552aa /scripts/pacman-db-upgrade.sh.in | |
parent | c8448bb466d3c532d5867a4452492b1948400c77 (diff) | |
download | pacman-23850c7c9995e00d52d09e60eaa95b6285b3146d.tar.xz |
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>
Diffstat (limited to 'scripts/pacman-db-upgrade.sh.in')
-rw-r--r-- | scripts/pacman-db-upgrade.sh.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pacman-db-upgrade.sh.in b/scripts/pacman-db-upgrade.sh.in index 7bb277b9..7b360c3c 100644 --- a/scripts/pacman-db-upgrade.sh.in +++ b/scripts/pacman-db-upgrade.sh.in @@ -167,6 +167,8 @@ if [[ -z "$db_version" ]]; then fi # pacman 4.1 to 4.2 upgrade - remove directory symlink support + msg "$(gettext "Pre-4.2 database format detected - upgrading...")" + dirlist=() unset GREP_OPTIONS @@ -180,8 +182,6 @@ if [[ -z "$db_version" ]]; then done) if [[ ${#dirlist[@]} != 0 ]]; then - msg "$(gettext "Pre-4.2 database format detected - upgrading...")" - pacroot="$(resolve_dir "$pacroot")" for dir in "${dirlist[@]}"; do |