diff options
author | joey <joey> | 2001-02-10 00:33:08 +0000 |
---|---|---|
committer | joey <joey> | 2001-02-10 00:33:08 +0000 |
commit | 4f16c9baca4edbe95d7e9932b28e12ebeda14506 (patch) | |
tree | db7b3451adeafe48735fa2548d33dd68db1a6a6a /dh_testroot | |
parent | 7aa17bd59d40345ba72ab5c31b6c72e4448d5007 (diff) | |
download | debhelper-4f16c9baca4edbe95d7e9932b28e12ebeda14506.tar.gz |
r439: attack of the pod people from the planet perl is complete
Diffstat (limited to 'dh_testroot')
-rwxr-xr-x | dh_testroot | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/dh_testroot b/dh_testroot index 9192f853..dc36c253 100755 --- a/dh_testroot +++ b/dh_testroot @@ -1,6 +1,20 @@ #!/usr/bin/perl -w -# -# Checks to make sure you are root. + +=head1 NAME + +dh_testroot - ensure that a package is built as root + +=head1 SYNOPSIS + + dh_testroot [debhelper options] + +=head1 DESCRIPTION + +dh_testroot simply checks to see if you are root. If not, it exits with an +error. Debian packages must be built as root, though you can use +L<fakeroot(1)> + +=cut use strict; use Debian::Debhelper::Dh_Lib; @@ -8,3 +22,15 @@ use Debian::Debhelper::Dh_Lib; if ($< != 0) { error("You must run this as root (or use fakeroot)."); } + +=head1 SEE ALSO + +L<debhelper(1)> + +This program is a part of debhelper. + +=head1 AUTHOR + +Joey Hess <joeyh@debian.org> + +=cut |