diff options
author | Jochen Sprickerhof <jspricke@debian.org> | 2016-12-26 15:01:37 +0100 |
---|---|---|
committer | dx <dx@dxzone.com.ar> | 2016-12-26 19:37:15 -0300 |
commit | 26eed8a46e4464a46a8a0383ceabeb8f54dcc7fb (patch) | |
tree | c108d92d661a7c7e4806064deae20336fd2867da | |
parent | 9c7ef2245f589468bb4acb9e23b35176b8d38f2f (diff) |
[debian] Drop dependncy on net-tools
See: https://lists.debian.org/debian-devel/2016/12/msg00604.html
Also, this is consistent to systemd.
-rw-r--r-- | debian/bitlbee-common.config | 8 | ||||
-rw-r--r-- | debian/control | 2 |
2 files changed, 2 insertions, 8 deletions
diff --git a/debian/bitlbee-common.config b/debian/bitlbee-common.config index c2437b54..927f646f 100644 --- a/debian/bitlbee-common.config +++ b/debian/bitlbee-common.config @@ -12,13 +12,7 @@ if [ -n "$BITLBEE_PORT" ]; then else db_get bitlbee/serveport if [ "$RET" = "stillhavetoask" ]; then - listens=$(netstat -ltn | awk '{print $4}') - for port in 6667 6666 6668 6669; do - if [ $(expr "$listens " : ".*:$port\s") = "0" ]; then - break - fi - done - db_set bitlbee/serveport $port; + db_set bitlbee/serveport 6667; fi fi diff --git a/debian/control b/debian/control index d83f089e..9dac2ef8 100644 --- a/debian/control +++ b/debian/control @@ -38,7 +38,7 @@ Description: IRC to other chat networks gateway (using libpurple) Package: bitlbee-common Architecture: all -Depends: ${misc:Depends}, net-tools, adduser +Depends: ${misc:Depends}, adduser Replaces: bitlbee Description: IRC to other chat networks gateway (common files/docs) This program can be used as an IRC server which forwards everything you |