teach packman about new id (tracker item 489)

This commit is contained in:
Ben Gras 2010-06-26 23:10:24 +00:00
parent 5eb6f6e922
commit f200f53a0b

View file

@ -54,7 +54,7 @@ then BUNZIP2=bunzip2
else BUNZIP2=smallbunzip2
fi
if id | fgrep "uid=0(" >/dev/null
if id | fgrep "root" >/dev/null
then :
else echo "Please run $0 as root."
myexit 1