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 B<dh_installppp> is a debhelper program that is responsible for installing
19 ppp ip-up and ip-down scripts into package build directories.
25 =item debian/I<package>.ppp.ip-up
27 Installed into etc/ppp/ip-up.d/I<package> in the package build directory.
29 =item debian/I<package>.ppp.ip-down
31 Installed into etc/ppp/ip-down.d/I<package> in the package build directory.
39 =item B<--name=>I<name>
41 Look for files named F<debian/package.name.ppp.ip-*> and install them as
42 F<etc/ppp/ip-*/name>, instead of using the usual files and installing them
51 foreach my $package (@{$dh{DOPACKAGES}}) {
52 my $tmp=tmpdir($package);
54 foreach my $script (qw(up down)) {
55 my $file=pkgfile($package, "ppp.ip-$script");
57 if (! -d "$tmp/etc/ppp/ip-$script.d") {
58 doit("install","-d","$tmp/etc/ppp/ip-$script.d");
60 doit("install","-p","-m755",$file,"$tmp/etc/ppp/ip-$script.d/".pkgfilename($package));
69 This program is a part of debhelper.
73 Joey Hess <joeyh@debian.org>