Last change
on this file since d75597b 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
|
Line | |
---|
1 | #!/bin/sh -e |
---|
2 | |
---|
3 | . /usr/share/debconf/confmodule |
---|
4 | |
---|
5 | db_title BitlBee |
---|
6 | |
---|
7 | db_get bitlbee/serveport |
---|
8 | if [ "$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; |
---|
15 | fi |
---|
16 | |
---|
17 | if db_input medium bitlbee/serveport; then |
---|
18 | db_go; |
---|
19 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.