This file is indexed.

/usr/lib/pbuilder-scripts/pget-helper is in pbuilder-scripts 20.

This file is owned by root:root, with mode 0o755.

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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/sh
# -*- indent-tabs-mode: t; tab-width: 2 -*-
#
# Copyright 2009-2012 Canonical Ltd
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

# Expected arguments:
# 1 is destination directory for source
# 2 is package name
# 3 and 4 are uid and gid

set -e

SRCTMP=$(mktemp -d)
cd "$SRCTMP"

SRCDIR="$1"
PKG="$2"

apt-get update

apt-get source $PKG

chown -R $3:$4 *

# Only move actual packaging files if they don't exist, but never just fail to
# expand it nor overwrite an already-expanded source dir (the user may have
# work in it).  So we backup existing directories.
mv -t "$SRCDIR" --backup=numbered $(ls -d */)

# Now just move everything else
mv -t "$SRCDIR" -u *

cd /
rm -r "$SRCTMP"