This file is indexed.

config is in vidalia 0.2.21-1.

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
28
#!/bin/sh

set -e
if [ -f /usr/share/debconf/confmodule ]; then
        . /usr/share/debconf/confmodule
fi

## Addopt wicd-netdev interaction approach.
if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ]; then

	# Get regular/non-system users
	users="$(getent passwd | awk -F: '{if ($3 >= 1000 && $3 < 60000) print $1}' | sort | tr '\n' ',' | sed 's@,@, @g;s@, $@@g')"

	# Get a list of users into 'debian-tor' group
	debiantor=$(getent group debian-tor | cut -d: -f4 | sed -e 's@,@ @g')

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

	# Substract already present users
	db_subst vidalia/users users "$users"
	if [ "$users" != "" ]; then
		db_input high vidalia/users || true
		db_go
	fi
fi