summaryrefslogtreecommitdiffstats
path: root/packaging/installer/install-required-packages.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-04-12 16:30:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-04-12 16:30:42 +0000
commita7baadb7f3cdd020beee095457f897c0698e7167 (patch)
treea0c92aa2e552902cb9b0d46ca0b9301e28260f54 /packaging/installer/install-required-packages.sh
parentAdding upstream version 1.30.0. (diff)
downloadnetdata-a7baadb7f3cdd020beee095457f897c0698e7167.tar.xz
netdata-a7baadb7f3cdd020beee095457f897c0698e7167.zip
Adding upstream version 1.30.1.upstream/1.30.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'packaging/installer/install-required-packages.sh')
-rwxr-xr-xpackaging/installer/install-required-packages.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/packaging/installer/install-required-packages.sh b/packaging/installer/install-required-packages.sh
index 23cbe12d..203f7c6c 100755
--- a/packaging/installer/install-required-packages.sh
+++ b/packaging/installer/install-required-packages.sh
@@ -141,7 +141,7 @@ EOF
release2lsb_release() {
# loads the given /etc/x-release file
- # this file is normaly a single line containing something like
+ # this file is normally a single line containing something like
#
# X Linux release 1.2.3 (release-name)
#
@@ -322,8 +322,8 @@ user_picks_distribution() {
echo >&2 "I found though that the following installers are available:"
echo >&2
[ -n "${apt_get}" ] && echo >&2 " - Debian/Ubuntu based (installer is: apt-get)" && opts="apt-get ${opts}"
- [ -n "${yum}" ] && echo >&2 " - Redhat/Fedora/Centos based (installer is: yum)" && opts="yum ${opts}"
- [ -n "${dnf}" ] && echo >&2 " - Redhat/Fedora/Centos based (installer is: dnf)" && opts="dnf ${opts}"
+ [ -n "${yum}" ] && echo >&2 " - Red Hat/Fedora/CentOS based (installer is: yum)" && opts="yum ${opts}"
+ [ -n "${dnf}" ] && echo >&2 " - Red Hat/Fedora/CentOS based (installer is: dnf)" && opts="dnf ${opts}"
[ -n "${zypper}" ] && echo >&2 " - SuSe based (installer is: zypper)" && opts="zypper ${opts}"
[ -n "${pacman}" ] && echo >&2 " - Arch Linux based (installer is: pacman)" && opts="pacman ${opts}"
[ -n "${emerge}" ] && echo >&2 " - Gentoo based (installer is: emerge)" && opts="emerge ${opts}"
@@ -1265,7 +1265,7 @@ suitable_package() {
return 0
elif [ -z "${p}" ]; then
echo >&2 "WARNING"
- echo >&2 "package ${1} is not availabe in this system."
+ echo >&2 "package ${1} is not available in this system."
echo >&2
return 1
else
@@ -1492,7 +1492,7 @@ install_apt_get() {
prompt() {
if [ "${NON_INTERACTIVE}" -eq 1 ]; then
echo >&2 "Running in non-interactive mode, assuming yes (y)"
- echo >&2 " > Would have promptedfor ${1} ..."
+ echo >&2 " > Would have prompted for ${1} ..."
return 0
fi