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