diff options
Diffstat (limited to 'postgresql-setup.in')
-rw-r--r-- | postgresql-setup.in | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/postgresql-setup.in b/postgresql-setup.in index 5c1f08a..8267c06 100644 --- a/postgresql-setup.in +++ b/postgresql-setup.in @@ -85,28 +85,6 @@ Environment: debugging output." -die() { echo >&2 $"FATAL: $@" ; exit 1 ; } -error() { echo >&2 $"ERROR: $@" ; } -error_q() { echo >&2 $" $@" ; } -warn() { echo >&2 $"WARNING: $@" ; } -warn_q() { echo >&2 $" $@" ; } -info() { echo >&2 $" * $@" ; } -info_q() { echo >&2 $" $@" ; } -debug() { test "$option_debug" = "1" && echo >&2 $"DEBUG: $@"; } - - -set_var() -{ - eval "$1=\"$2\"" -} - - -root_prereq() -{ - test "$(id -u)" -eq 0 || die "$0 requires root access for this action" -} - - print_version() { echo "@NAME_BINARYBASE@-setup @VERSION@" |