Changeset 4532 for python-llxvars


Ignore:
Timestamp:
May 3, 2017, 2:14:50 PM (3 years ago)
Author:
hectorgh
Message:

fixing postinst

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python-llxvars/trunk/fuentes/debian/postinst

    r4521 r4532  
    2929               if [ "${INTERNAL_DOMAIN}" != "" ]; then
    3030
    31                         NEW_ALIAS="cname=admin-center.${INTERNAL_DOMAIN}, ${HOSTNAME}.${INTERNAL_DOMAIN}";
    32                         FOUND=`cat $CNAMEPATH | grep "${NEW_ALIAS}" | wc -l`
    33        
     31                        NEW_ALIAS="cname=admin-center.${INTERNAL_DOMAIN},${HOSTNAME}.${INTERNAL_DOMAIN}";
     32                        FOUND=`cat $CNAMEPATH | grep "admin-center" | wc -l`
    3433                        if [ ${FOUND} -eq 0 ]; then
    3534                            echo ${NEW_ALIAS} >> $CNAMEPATH
Note: See TracChangeset for help on using the changeset viewer.