Skip to content

Commit

Permalink
fix setenv being mistakenly removed
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Nov 16, 2020
1 parent fa7e268 commit 896efdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ then
then
rm -f /etc/lighttpd/conf-enabled/87-mod_setenv.conf
fi
if (( $(cat /etc/lighttpd/conf-enabled/* | grep -c -E -e 'server.modules.?\+=.?\(.?"mod_setenv".?\)') > 1 )); then
if (( $(cat /etc/lighttpd/conf-enabled/* | grep -c -E -e '^server.modules.?\+=.?\(.?"mod_setenv".?\)') > 1 )); then
rm -f /etc/lighttpd/conf-enabled/87-mod_setenv.conf
fi

Expand Down

0 comments on commit 896efdf

Please sign in to comment.