diff options
Diffstat (limited to 'scripts/pacman-db-upgrade.sh.in')
-rw-r--r-- | scripts/pacman-db-upgrade.sh.in | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/scripts/pacman-db-upgrade.sh.in b/scripts/pacman-db-upgrade.sh.in index 17d8beb4..3e0d702d 100644 --- a/scripts/pacman-db-upgrade.sh.in +++ b/scripts/pacman-db-upgrade.sh.in @@ -1,4 +1,4 @@ -#!@BASH_SHELL@ -e +#!/bin/bash -e # # pacman-db-upgrade - upgrade the local pacman db to a newer format # @configure_input@ @@ -20,7 +20,7 @@ # # gettext initialization -export TEXTDOMAIN='pacman' +export TEXTDOMAIN='pacman-scripts' export TEXTDOMAINDIR='@localedir@' myver='@PACKAGE_VERSION@' @@ -28,15 +28,8 @@ myver='@PACKAGE_VERSION@' eval $(awk '/DBPath/ {print $1$2$3}' @sysconfdir@/pacman.conf) dbroot="${DBPath:-@localstatedir@/lib/pacman/}" -msg() { - local mesg=$1; shift - printf "==> ${mesg}\n" "$@" >&2 -} +m4_include(library/output_format.sh) -error () { - local mesg=$1; shift - printf "==> ERROR: ${mesg}\n" "$@" >&2 -} usage() { printf "pacman-db-upgrade (pacman) %s\n\n" "$myver" printf "$(gettext "Usage: %s [pacman_db_root]")\n\n" "$0" |