From 25ae89b485e98ae8ebe9fb06692742959dacf45a Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Thu, 1 Dec 2011 01:51:06 +0100 Subject: [PATCH] Fix compatibility with F-16 UIDs 1000+. --- bin/mocksetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mocksetup b/bin/mocksetup index 86170c0..e811d20 100755 --- a/bin/mocksetup +++ b/bin/mocksetup @@ -70,7 +70,7 @@ for r in $l;do # mock -q -r $r chroot true echo "$rpath lock check" for n in passwd group;do - cat /etc/$n $rpath/etc/$n|perl -ne 'print if /^(?:[^:]*:){2}(5\d\d):/'|sort|uniq -u|tee -a $rpath/etc/$n + cat /etc/$n $rpath/etc/$n|perl -ne 'print if /^(?:[^:]*:){2}(10\d\d):/'|sort|uniq -u|tee -a $rpath/etc/$n done if [ ! -f $rpath/etc/mtab-orig ];then c="mv -f $rpath/etc/mtab $rpath/etc/mtab-orig" -- 1.8.3.1