5 use Debian::Debhelper::Dh_Lib;
10 foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
11 $TMP=tmpdir($PACKAGE);
12 $suid=pkgfile($PACKAGE,"suid");
14 # All this code is here just to see if we would have done something
19 @files=filearray($suid, $TMP);
22 if (($PACKAGE eq $dh{FIRSTPACKAGE} || $dh{PARAMS_ALL}) && @ARGV) {
26 if (! @files && ! $suid) {
27 # No files specified (and no empty debian/suid file), so
28 # guess what files to process.
29 @files=split(/\n/,`find $TMP -type f -perm +6000`);
33 # So we would have registered some files before.
34 error("This program should no longer be used. Please read the dh_suidregister(1) man page.");
38 # Although they called it, it's not going to do anything.
40 warning("This program is obsolete and may be safely removed from your rules file.");