Hello
I'm packaging a module (Config::Model::OpenSsh) that delivers 2 scripts:
- config-edit-sshd
- config-edit-ssh
The first one can only be run as root and should be installed in
/usr/sbin. The latter can be run by root or by a user and should be
installed in /usr/bin.
What is the proper way to use Module::Build so that config-edit-sshd
is installed in /usr/bin ?
I guess that Build.PL should contain something like:
my $build = Module::Build->new
(
# ...
script_files => [ qw/config-edit-ssh/ ],
);
$build->install_path( sbin => $build->install_base() .'/sbin' );
But after I fail to see how to specify that config-edit-sshd is of
'sbin' type. How can this be done ?
Thanks
--
Dominique Dumont
"Delivering successful solutions requires giving people what they
need, not what they want." Kurt Bittner
irc:
domidumont at irc.freenode.net
ddumont at irc.debian.org