/usr/bin/lr_env is in lire 2:2.1.1-2.1.
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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | #! /bin/sh -e
########################################################################
#
# variables about the Lire installation
#
########################################################################
# dereference exec_prefix, for libexecdir and bindir dependency
prefix=/usr
exec_prefix=${prefix}
cat <<EOF
LR_PERL5LIBDIR="/usr/share/perl5"
LR_PREFIX="/usr"
LR_BINDIR="${exec_prefix}/bin"
LR_DATADIR="${prefix}/share/lire"
LR_LIBDIR="/usr/share/lire/lib/lire"
LR_MANDIR="/usr/share/man"
LR_SYSCONFDIR="/etc/lire"
LR_SCHEMASDIR="${prefix}/share/lire/schemas"
LR_REPORTSDIR="${prefix}/share/lire/reports"
LR_FILTERSDIR="${prefix}/share/lire/filters"
LR_DOCDIR="${prefix}/share/lire/doc/lire"
LR_TEMPLATESDIR=${prefix}/share/templates
LR_SPECSDIR=${prefix}/share/config-spec
LR_PLUGINSDIR=/etc/plugins
EOF
exit 0
POD=<<'EOPOD'
=pod
=head1 NAME
lr_env - Gives information on the location of the current Lire installation
=head1 SYNOPSIS
eval `B<lr_env> `
=head1 DESCRIPTION
B<lr_env> prints on STDOUT shell code which can be evaled to access
information on the Lire installation.
The following variables are printed:
=over
=item LR_PREFIX
The prefix where Lire is installed.
=item LR_LIBDIR
The directory where the supporting scripts are installed.
=item LR_SYSCONFDIR
The directory where configuration files are installed.
=item LR_BINDIR
The directory where user binary are installed.
=item LR_MANDIR
The directory where man pages are installed.
=item LR_PLUGINSDIR
The directory where Lire::Plugin initializers are installed.
=item LR_SCHEMASDIR
The path where DLF schemas are installed.
=item LR_REPORTSDIR
The path where report specifications are installed.
=item LR_FILTERSDIR
The path where filter specifications are installed.
=item LR_DOCDIR
The directory where documentation is installed.
=item LR_SPECSDIR
The path where XML configuration specifications are installed.
=item LR_TEMPLATESDIR
The path where XML report templates are installed.
=item LR_PERL5LIBDIR
The directory where platform independant perl modules are installed.
=back
=head1 VERSION
$Id: lr_env.in,v 1.7 2006/07/23 13:16:32 vanbaal Exp $
=head1 COPYRIGHT
Copyright (C) 2002 Stichting LogReport Foundation LogReport@LogReport.org
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; either version 2 of the License, or
(at your option) any later version.
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 (see COPYING); if not, check with
http://www.gnu.org/copyleft/gpl.html.
=head1 AUTHOR
Francis J. Lacoste <flacoste@logreport.org>
=cut
EOPOD
|