File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ PHP_VER="8.1"
2020PHPMYADMIN_VER="5.2.1"
2121PNGOUT_VER="20200115"
2222WORDFENCE_CLI_VER="1.0.1"
23- ZLIB_VER="1.13 "
23+ ZLIB_VER="1.3 "
2424
2525# Old Software Versions
2626OLDPHP="8.0"
Original file line number Diff line number Diff line change 2727cat << EOT >> /root/.bashrc
2828alias enginescript="/usr/local/bin/enginescript/scripts/menu/enginescript-menu.sh"
2929alias es.backup="/usr/local/bin/enginescript/scripts/functions/alias/alias-cache.sh"
30- alias es.cache=/usr/local/bin/enginescript/scripts/functions/alias/alias-virus-scan.sh"
30+ alias es.cache=" /usr/local/bin/enginescript/scripts/functions/alias/alias-virus-scan.sh"
3131#alias es.compress="/usr/local/bin/enginescript/scripts/functions/cron/compression-cron.sh"
3232alias es.config="nano /home/EngineScript/enginescript-install-options.txt"
3333alias es.images="/usr/local/bin/enginescript/scripts/functions/cron/optimize-images.sh"
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ apt install -qy advancecomp apt-listchanges apt-show-versions apt-transport-http
3131
3232# Nano
3333update-alternatives --set editor /bin/nano
34- curl https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh | sh
3534
3635# Cheat.sh
3736# curl https://cht.sh/:cht.sh | sudo tee /usr/local/bin/cht.sh
Original file line number Diff line number Diff line change @@ -62,5 +62,6 @@ echo ""
6262echo " ============================================================="
6363echo " "
6464echo " "
65-
65+ exec env --ignore-environment /bin/bash
66+ export TERM=vt100
6667sleep 5
Original file line number Diff line number Diff line change @@ -447,5 +447,6 @@ echo " Returning to main menu in 5 seconds."
447447echo " "
448448echo " ============================================================="
449449echo " "
450-
450+ exec env --ignore-environment /bin/bash
451+ export TERM=vt100
451452sleep 5
Original file line number Diff line number Diff line change 2525# Start Main Script
2626
2727# Cloudflare zlib Download
28+ cd /usr/src
2829rm -rf /usr/src/zlib-cf
2930git clone --depth 1 https://github.com/cloudflare/zlib.git -b gcc.amd64 /usr/src/zlib-cf
3031cd /usr/src/zlib-cf
31- make -f Makefile.in distclean
32- ./configure \
32+ sudo ./configure --prefix=path \
3333 --static \
3434 --64
35+ make -f Makefile.in distclean
3536
3637# make
3738# make test
Original file line number Diff line number Diff line change @@ -117,10 +117,12 @@ apt-key add jcameron-key.asc
117117
118118if [ -f " /home/EngineScript/enginescript-install-options.txt" ]
119119 then
120+ clear
120121 echo " "
121122 echo " "
122123 echo " "
123124 echo " Initial setup is complete."
125+ echo " "
124126 echo " Change the options in /home/EngineScript/enginescript-install-options.txt"
125127 echo " Edit the file and upload via FTP or run command \" nano /home/EngineScript/enginescript-install-options.txt\" "
126128 echo " "
@@ -129,10 +131,12 @@ if [ -f "/home/EngineScript/enginescript-install-options.txt" ]
129131 echo " "
130132 else
131133 cp -rf /usr/local/bin/enginescript/home/enginescript-install-options.txt /home/EngineScript/enginescript-install-options.txt
134+ clear
132135 echo " "
133136 echo " "
134137 echo " "
135138 echo " Initial setup is complete."
139+ echo " "
136140 echo " Change the options in /home/EngineScript/enginescript-install-options.txt"
137141 echo " Edit the file and upload via FTP or run command \" nano /home/EngineScript/enginescript-install-options.txt\" "
138142 echo " "
You can’t perform that action at this time.
0 commit comments