/usr/share/pkg-perl-tools/shell-lib is in pkg-perl-tools 0.42.
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 47 48 49 50 51 52 53 54 55 56 57 | #!/bin/sh
# copyright, license and documentation below
set -e -u
MYDIR="$(readlink -f `dirname $0`)"
usage() {
BN=`basename $0`
cat <<EOF
Usage: $BN
EOF
exit 0
}
[ -z "${1:-}" ] || usage
echo . "$DPT__SCRIPTS/lib/posix-lib.sh"
exit 0
POD=<<'EOF'
=head1 NAME
dpt-shell-lib -- shell integration of L<dpt(1)>
=head1 SYNOPSIS
In the interactive configuration script of your shell:
`B<dpt shell-lib>`
=head1 DESCRIPTION
B<dpt shell-lib> prints out a shell command that loads some goodies when
working with packages from the Debian Perl Group.
Currently this is only a wrapper function for the L<dpt(1)> command, which
captures the output of L<dpt-checkout(1)> and L<dpt-cd(1)> commands and changes
the current directory to the checkout.
=head1 OPTIONS
None.
=head1 COPYRIGHT & LICENSE
Copyright 2013 Damyan Ivanov <dmn@debian.org>
This program is free software and can be distributed under the same terms as
Perl.
=cut
EOF
|