summaryrefslogtreecommitdiff
path: root/dh_testroot
blob: fcc9b4745c901fbb0fae7b8401d4ff362d85e594 (plain)
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
source dh_lib

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