From: Ben Gras Date: Sat, 26 Jun 2010 23:10:24 +0000 (+0000) Subject: teach packman about new id (tracker item 489) X-Git-Tag: v3.1.8~335 X-Git-Url: http://zhaoyanbai.com/repos/pkcs11-keygen.html?a=commitdiff_plain;h=f200f53a0bde2f7178cb8718ccd10ffdd8f25872;p=minix.git teach packman about new id (tracker item 489) --- diff --git a/commands/packman/packman.sh b/commands/packman/packman.sh index 459258ea3..f7914da90 100644 --- a/commands/packman/packman.sh +++ b/commands/packman/packman.sh @@ -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