Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • debian/postinst

    r25dfb16 rd301872  
    3333## /etc/default/bitlbee: Auto-generated/updated script.
    3434##
    35 ## If running in (fork)daemon mode, listen on this TCP port.
     35## Don't edit this line, use dpkg-reconfigure bitlbee
    3636BITLBEE_PORT="$PORT"
    3737
     
    6161        else
    6262                mv /usr/share/bitlbee/help.upgrading /usr/share/bitlbee/help.txt
     63        fi
     64fi
     65
     66if ! grep -qi '^User *= *' /etc/bitlbee/bitlbee.conf; then
     67        echo 'Updating configuration file, enabling User-setting...'
     68        if ! sed -i -e 's/# *User *= *.*/User = bitlbee/i' /etc/bitlbee/bitlbee.conf; then
     69                echo 'Failed! BitlBee may run as root now, please check your configs.'
    6370        fi
    6471fi
Note: See TracChangeset for help on using the changeset viewer.