File: dh_testroot

package info (click to toggle)
debhelper 2.0.86
  • links: PTS
  • area: main
  • in suites: potato
  • size: 616 kB
  • ctags: 49
  • sloc: perl: 1,842; makefile: 251; sh: 5
file content (10 lines) | stat: -rwxr-xr-x 180 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/perl -w
#
# Checks to make sure you are root.

BEGIN { push @INC, "debian", "/usr/share/debhelper" }
use Dh_Lib;

if ($< != 0) {
	error("You must run this as root.");
}