Fix a bug in test apache symlink. #834

This commit is contained in:
Benoît S. 2014-10-08 17:20:05 +02:00
parent 9bf216c5ec
commit 1188586ec0

View file

@ -355,7 +355,7 @@ if [ -e /etc/debian_version ]; then
fi
# Check if there is regular files in Apache sites-enabled.
if [ "IS_APACHESYMLINK" = 1 ]; then
if [ "$IS_APACHESYMLINK" = 1 ]; then
is_installed apache2.2-common && \
(stat -c %F /etc/apache2/sites-enabled/* | grep -q regular && echo 'IS_APACHESYMLINK FAILED!')
fi