Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Installer fails in ubuntu containers without wget #7

Open
psyphdawg opened this issue Apr 1, 2020 · 0 comments
Open

Installer fails in ubuntu containers without wget #7

psyphdawg opened this issue Apr 1, 2020 · 0 comments

Comments

@psyphdawg
Copy link

On line 122 of the install_cht_perfmon.sh should contain an else to handle wget for debian distros.

The redhat yum install is handled but not the debian cases.

118 if ! command_exists wget ; then
119 if command_exists yum ; then
120 echo "** Installing wget first via yum.." 2>&1 | tee -a /tmp/agent_install_log.txt
121 yum install wget
122 fi
123 fi

Should become:

118 if ! command_exists wget ; then
119 if command_exists yum ; then
120 echo "** Installing wget first via yum.." 2>&1 | tee -a /tmp/agent_install_log.txt
121 yum install wget
122 else
123 echo "** Installing wget first via apt-get.." 2>&1 | tee -a /tmp/agent_install_log.txt
124 apt-get install wget -y
125 fi
126 fi

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant