avoid error if avahi is not installed
This commit is contained in:
parent
20de7ae5b1
commit
c649e0eee4
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ sed -i -e "s#gzip_disable \"msie6\";#${GZIP}#g" /etc/nginx/nginx.conf
|
||||||
service nginx restart
|
service nginx restart
|
||||||
|
|
||||||
if [ "$LXC" == "yes" ]; then
|
if [ "$LXC" == "yes" ]; then
|
||||||
sed -i "s/-D/--no-rlimits -D/g" /etc/init/avahi-daemon.conf
|
test -e /etc/init/avahi-daemon.conf && sed -i "s/-D/--no-rlimits -D/g" /etc/init/avahi-daemon.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$LXC" == "no" ]; then
|
if [ "$LXC" == "no" ]; then
|
||||||
|
|
Loading…
Reference in a new issue