mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
more travis
This commit is contained in:
parent
254600b7c7
commit
040509d156
@ -16,7 +16,7 @@ is_process_running dpkg
|
||||
|
||||
# Install curl if not existing
|
||||
if [ "$(dpkg-query -W -f='${Status}' "curl" 2>/dev/null | grep -c "ok installed")" == "1" ]
|
||||
then
|
||||
thengr
|
||||
print_text_in_color "$IGreen" "curl OK"
|
||||
else
|
||||
apt update -q4 & spinner_loading
|
||||
@ -224,7 +224,7 @@ a2enmod rewrite \
|
||||
a2dismod mpm_prefork
|
||||
|
||||
# Disable server tokens in Apache
|
||||
if ! [ "$(grep 'ServerSignature' /etc/apache2/apache2.conf)" ]
|
||||
if ! [ "$(grep -q 'ServerSignature' /etc/apache2/apache2.conf)" ]
|
||||
then
|
||||
{
|
||||
echo "# Turn off ServerTokens for both Apache and PHP"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user