diff options
author | joey <joey> | 1999-08-17 04:12:54 +0000 |
---|---|---|
committer | joey <joey> | 1999-08-17 04:12:54 +0000 |
commit | 938b66ee19e113785e6655b1c3e73e9003e6464c (patch) | |
tree | d06bd22faa3da8940bec71ba2e34e2028b6e7764 /dh_testroot | |
download | debhelper-938b66ee19e113785e6655b1c3e73e9003e6464c.tar.gz |
r1: Initial revision
Diffstat (limited to 'dh_testroot')
-rwxr-xr-x | dh_testroot | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dh_testroot b/dh_testroot new file mode 100755 index 00000000..fcc9b474 --- /dev/null +++ b/dh_testroot @@ -0,0 +1,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 |