Skip to content

Commit 14a6e60

Browse files
committed
Moved tinyproxy out of if clause
1 parent 717633e commit 14a6e60

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

install_linux.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,12 @@ git submodule update --init
117117
print_message "Installing needed binaries for building ..."
118118
if lsb_release -is | grep -q "Fedora"; then
119119
sudo dnf -y install lm_sensors lm_sensors-devel glib2 glib2-devel tinyproxy lshw
120-
sudo systemctl stop tinyproxy
121-
sudo systemctl disable tinyproxy
122120
else
123121
sudo apt-get update
124122
sudo apt-get install -y lm-sensors libsensors-dev libglib2.0-0 libglib2.0-dev tinyproxy lshw
125-
sudo systemctl stop tinyproxy
126-
sudo systemctl disable tinyproxy
127123
fi
124+
sudo systemctl stop tinyproxy
125+
sudo systemctl disable tinyproxy
128126

129127
print_message "Building binaries ..."
130128
metrics_subdir="metric_providers"

0 commit comments

Comments
 (0)