]> Zhao Yanbai Git Server - minix.git/commitdiff
teach packman about new id (tracker item 489)
authorBen Gras <ben@minix3.org>
Sat, 26 Jun 2010 23:10:24 +0000 (23:10 +0000)
committerBen Gras <ben@minix3.org>
Sat, 26 Jun 2010 23:10:24 +0000 (23:10 +0000)
commands/packman/packman.sh

index 459258ea327759a3c6c241984101bbbc169dd223..f7914da90d3b5ccff31fd03525450a5e3ee33f84 100644 (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