File: dh_testroot

package info (click to toggle)
debhelper 0.79hamm1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 332 kB
  • ctags: 6
  • sloc: sh: 578; makefile: 156; perl: 111
file content (10 lines) | stat: -rwxr-xr-x 171 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e
#
# Checks to make sure you are root.

PATH=debian:$PATH:/usr/lib/debhelper
. dh_lib

if  [ "`whoami`" != root ]; then
	error "You must run this as root."
fi