X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_testroot;h=346847688d02033e9cab336aa4b3d9d5287629f3;hb=65da07d0416734e825f13cc3c30f0d2cbf229df8;hp=9192f853853dad73fb5587cf8e7a3a89ca75fd88;hpb=e446e8308e654785721d8036a1d53633207053f0;p=debhelper.git diff --git a/dh_testroot b/dh_testroot index 9192f85..3468476 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 + +B [S>] + +=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 + +=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 + +This program is a part of debhelper. + +=head1 AUTHOR + +Joey Hess + +=cut