source: debian/config @ dce3903

Last change on this file since dce3903 was 19a8088, checked in by Wilmer van der Gaast <wilmer@…>, at 2007-07-05T23:36:48Z

Adding debian/ tree to the repository again. Updated it to include all
1.0.x versions and some other changes. Might soon start building snapshots
again. :-)

  • Property mode set to 100755
File size: 319 bytes
RevLine 
[19a8088]1#!/bin/sh -e
2
3. /usr/share/debconf/confmodule
4
5db_title BitlBee
6
7db_get bitlbee/serveport
8if [ "$RET" = "stillhavetoask" ]; then
9        if netstat -ltn | grep ':6667' 2> /dev/null > /dev/null; then
10                port=6668;
11        else
12                port=6667;
13        fi
14        db_set bitlbee/serveport $port;
15fi
16
17if db_input medium bitlbee/serveport; then
18        db_go;
19fi
Note: See TracBrowser for help on using the repository browser.