5 dh_installppp - install ppp ip-up and ip-down files
10 use Debian::Debhelper::Dh_Lib;
14 B<dh_installppp> [S<I<debhelper options>>] [B<--name=>I<name>]
18 dh_installppp is a debhelper program that is responsible for installing
19 ppp ip-up and ip-down scripts. into package build directories.
21 If a file named debian/package.ppp.ip-up exists, then it is installed into
22 etc/ppp/ip-up.d/package in the package build directory.
23 Files named debian/package.ppp.ip-down are installed to
24 etc/ppp/ip-down.d/package
30 =item B<--name=>I<name>
32 Look for files named debian/package.name.ppp.ip-* and install them as
33 etc/ppp/ip-*/name, instead of using the usual files and installing them
42 foreach my $package (@{$dh{DOPACKAGES}}) {
43 my $tmp=tmpdir($package);
45 foreach my $script (qw(up down)) {
46 my $file=pkgfile($package, "ppp.ip-$script");
48 if (! -d "$tmp/etc/ppp/ip-$script.d") {
49 doit("install","-d","$tmp/etc/ppp/ip-$script.d");
51 doit("install","-p","-m755",$file,"$tmp/etc/ppp/ip-$script.d/".pkgfilename($package));
60 This program is a part of debhelper.
64 Joey Hess <joeyh@debian.org>