diff --git a/lemper.sh b/lemper.sh index a72f282..2c802aa 100755 --- a/lemper.sh +++ b/lemper.sh @@ -145,11 +145,11 @@ case $1 in # Remove PHP echo -e "\nUninstalling PHP FPM...\n" - if [[ -n $(which which php-fpm5.6) \ - || -n $(which which php-fpm7.0) \ - || -n $(which which php-fpm7.1) \ - || -n $(which which php-fpm7.2) \ - || -n $(which which php-fpm7.3) ]]; then + if [[ -n $(which php-fpm5.6) \ + || -n $(which php-fpm7.0) \ + || -n $(which php-fpm7.1) \ + || -n $(which php-fpm7.2) \ + || -n $(which php-fpm7.3) ]]; then # Stop php5-fpm server service php5.6-fpm stop service php7.0-fpm stop diff --git a/scripts/install_tools.sh b/scripts/install_tools.sh index 16a163f..1300966 100755 --- a/scripts/install_tools.sh +++ b/scripts/install_tools.sh @@ -39,7 +39,7 @@ LEMPer and ngxTools support is available at

Thank you for using nginx, ngxTools, and LEMPer.

-

Generated using LEMPer from Nginx vHost Tool, a simple nginx web server management tool.

+

Generated using LEMPer from Nginx vHost Tool, a simple nginx web server management tool.

_EOF_ @@ -55,6 +55,7 @@ run chmod ugo+x /usr/local/bin/ngxtool run mkdir /usr/share/nginx/html/tools/ create_index_file > /usr/share/nginx/html/index.html +create_index_file > /usr/share/nginx/html/tools/index.html # Install PHP Info #cat > /usr/share/nginx/html/tools/phpinfo.php < | -# +------------------------------------------------------------------------+ +# +-------------------------------------------------------------------------+ +# | NgxVhost - Simple Nginx vHost Configs File Generator | +# +-------------------------------------------------------------------------+ +# | Copyright (c) 2014-2019 NgxTools (https://ngxtools.eslabs.id) | +# +-------------------------------------------------------------------------+ +# | This source file is subject to the GNU General Public License | +# | that is bundled with this package in the file LICENSE.md. | +# | | +# | If you did not receive a copy of the license and are unable to | +# | obtain it through the world-wide-web, please send an email | +# | to license@eslabs.id so we can send you a copy immediately. | +# +-------------------------------------------------------------------------+ +# | Authors: Edi Septriyanto | +# +-------------------------------------------------------------------------+ # Version Control APP_NAME=$(basename "$0") diff --git a/scripts/ngxvhost.sh b/scripts/ngxvhost.sh index 38147a0..9f860ad 100755 --- a/scripts/ngxvhost.sh +++ b/scripts/ngxvhost.sh @@ -1,20 +1,20 @@ #!/bin/bash -# +------------------------------------------------------------------------+ -# | NgxVhost - Simple Nginx vHost Configs File Generator | -# +------------------------------------------------------------------------+ -# | Copyright (c) 2014-2019 NgxTools (https://ngxtools.eslabs.id) | -# +------------------------------------------------------------------------+ -# | This source file is subject to the New BSD License that is bundled | -# | with this package in the file docs/LICENSE.txt. | -# | | -# | If you did not receive a copy of the license and are unable to | -# | obtain it through the world-wide-web, please send an email | -# | to license@eslabs.id so we can send you a copy immediately. | -# +------------------------------------------------------------------------+ -# | Authors: Edi Septriyanto | -# | Fideloper | -# +------------------------------------------------------------------------+ +# +-------------------------------------------------------------------------+ +# | NgxVhost - Simple Nginx vHost Configs File Generator | +# +-------------------------------------------------------------------------+ +# | Copyright (c) 2014-2019 NgxTools (https://ngxtools.eslabs.id) | +# +-------------------------------------------------------------------------+ +# | This source file is subject to the GNU General Public License | +# | that is bundled with this package in the file LICENSE.md. | +# | | +# | If you did not receive a copy of the license and are unable to | +# | obtain it through the world-wide-web, please send an email | +# | to license@eslabs.id so we can send you a copy immediately. | +# +-------------------------------------------------------------------------+ +# | Authors: Edi Septriyanto | +# | Forked from Fideloper | +# +-------------------------------------------------------------------------+ # Version Control APP_NAME=$(basename "$0")