This file is indexed.

config is in wicd-daemon 1.7.4+tb2-5.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash

set -e

# Source debconf library.
. /usr/share/debconf/confmodule

# Fix upgrades from broken experimental version
db_get wicd/users
if [ -n "$( echo $RET | grep \${ )" ]; then
	db_set wicd/users ""
	db_fset wicd/users seen false
fi

db_metaget wicd/users users
users="$(getent passwd | awk -F: '{if ($3 >= 1000 && $3 < 60000) print $1}' | sort | tr '\n' ',' | sed 's@,@, @g;s@, $@@g')"
netdev=$(getent group netdev | cut -d: -f4 | sed -e 's@,@ @g')

# Don't show users already in netdev
for u in $netdev; do
	users=$(echo $users | sed "s@$u, @@g;s@, $u\$@@g;s@^$u\$@@g");
done

db_subst wicd/users users "$users"

db_input high wicd/users || true
db_go