From 26bbf383ee32baeefcf0755fb2f2703abd60889a Mon Sep 17 00:00:00 2001 From: Ray Kohler Date: Sat, 26 Mar 2011 22:37:02 -0400 Subject: [PATCH] Clarify error message when bogus DB location is given. Signed-off-by: Ray Kohler --- scripts/pacman-db-upgrade.sh.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/pacman-db-upgrade.sh.in b/scripts/pacman-db-upgrade.sh.in index 0813acc..4ad3cb0 100644 --- a/scripts/pacman-db-upgrade.sh.in +++ b/scripts/pacman-db-upgrade.sh.in @@ -84,7 +84,7 @@ if [[ -n $1 ]]; then fi if [[ ! -d $dbroot || ! -d $dbroot/local ]]; then - die "$(gettext "%s does not exist or is not a directory.")" "$dbroot" + die "$(gettext "%s does not exist, is not a directory, or does not contain a database.")" "$dbroot" fi if [[ ! -w $dbroot ]]; then -- 1.7.4.1