Changeset 4947


Ignore:
Timestamp:
May 29, 2017, 1:50:51 PM (22 months ago)
Author:
joamuran
Message:

fixed postinst

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-jocomunico/trunk/fuentes/debian/lliurex-jocomunico.postinst

    r4938 r4947  
    5858           
    5959        # Add jocomunico to hosts
    60         [[ `cat /etc/hosts | grep jocomunico | wc -l` ]] || echo "127.0.0.1       jocomunico" >> /etc/hosts
     60        [[ `cat /etc/hosts | grep jocomunico | wc -l` >0 ]] || echo "127.0.0.1       jocomunico" >> /etc/hosts
    6161           
    6262        # Reloading apache
Note: See TracChangeset for help on using the changeset viewer.