File tree Expand file tree Collapse file tree 2 files changed +5
-18
lines changed Expand file tree Collapse file tree 2 files changed +5
-18
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ sudo apt-get install build-essential
9393
9494cd /tmp
9595
96- tput setaf default
96+ tput setaf 7
9797wget http://www.zlib.net/zlib-1.2.11.tar.gz
9898tar -xvf zlib-1.2.11.tar.gz > /dev/null
9999cd zlib-1.2.11/
@@ -109,7 +109,8 @@ printf '\n'
109109sudo make -s install & > zlib.log &
110110spinner
111111
112- tput setaf default
112+ printf ' \n'
113+ tput setaf 7
113114wget https://github.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/raw/master/.dev-tools/_apache_builds/httpd-2.2.25.tar.gz
114115tar -xvf httpd-2.2.25.tar.gz > /dev/null
115116cd httpd-2.2.25/
@@ -125,7 +126,8 @@ printf '\n'
125126sudo make -s install & > apache2build.log &
126127spinner
127128
128- tput setaf default
129+ printf ' \n'
130+ tput setaf 7
129131sudo /usr/local/apache2/bin/apachectl start
130132
131133wget -qO- http://localhost | grep " It works!"
Original file line number Diff line number Diff line change @@ -53,21 +53,6 @@ cyan=$(tput setaf 6)
5353white=$( tput setaf 7)
5454defaultcolor=$( tput setaf default)
5555
56- # ---------
57- # FUNCTIONS
58- # ---------
59-
60- runwithdots () {
61- " $@ " &
62-
63- while kill -0 $! ; do
64- printf ' .' > /dev/tty
65- sleep 2
66- done
67-
68- printf ' \n' > /dev/tty
69- }
70-
7156
7257# ******************
7358# Stop Apache 2.2.25
You can’t perform that action at this time.
0 commit comments