aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage-funcs
diff options
context:
space:
mode:
authordancer <dancer>2005-11-16 05:29:47 +0000
committerdancer <dancer>2005-11-16 05:29:47 +0000
commitb3addc9c4cbd31196a29fec2606233c6d13e0050 (patch)
tree97b4fc3b120344ed4c652aa027105268bea56f9b /pbuilder-buildpackage-funcs
parent2fbc1d1939fde958fa19aee14ca5ae11e9d9667b (diff)
downloadpbuilder-b3addc9c4cbd31196a29fec2606233c6d13e0050.tar
pbuilder-b3addc9c4cbd31196a29fec2606233c6d13e0050.tar.gz
fix typo/thinko
Diffstat (limited to 'pbuilder-buildpackage-funcs')
-rw-r--r--pbuilder-buildpackage-funcs2
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