diff options
author | dancer <dancer> | 2005-11-16 05:29:47 +0000 |
---|---|---|
committer | dancer <dancer> | 2005-11-16 05:29:47 +0000 |
commit | b3addc9c4cbd31196a29fec2606233c6d13e0050 (patch) | |
tree | 97b4fc3b120344ed4c652aa027105268bea56f9b /pbuilder-buildpackage-funcs | |
parent | 2fbc1d1939fde958fa19aee14ca5ae11e9d9667b (diff) | |
download | pbuilder-b3addc9c4cbd31196a29fec2606233c6d13e0050.tar pbuilder-b3addc9c4cbd31196a29fec2606233c6d13e0050.tar.gz |
fix typo/thinko
Diffstat (limited to 'pbuilder-buildpackage-funcs')
-rw-r--r-- | pbuilder-buildpackage-funcs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs index 31f990d..5965c83 100644 --- a/pbuilder-buildpackage-funcs +++ b/pbuilder-buildpackage-funcs @@ -90,7 +90,7 @@ function createbuilduser () { cowprotect $BUILDPLACE/etc/group echo "$BUILDUSERNAME:*:$BUILDUSERID:" >> $BUILDPLACE/etc/group fi - if [ -e ! $BUILDPLACE/etc/shadow ] && grep -q ^$BUILDUSERNAME: $BUILDPLACE/etc/shadow; then + if [ -e $BUILDPLACE/etc/shadow ] && ! grep -q ^$BUILDUSERNAME: $BUILDPLACE/etc/shadow; then cowprotect $BUILDPLACE/etc/shadow echo "$BUILDUSERNAME:!:::::::" >> $BUILDPLACE/etc/shadow fi |