summaryrefslogtreecommitdiff
path: root/mkipks
Side-by-side diff
Diffstat (limited to 'mkipks') (more/less context) (ignore whitespace changes)
-rwxr-xr-xmkipks2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkipks b/mkipks
index 29db5c0..b813e83 100755
--- a/mkipks
+++ b/mkipks
@@ -241,6 +241,8 @@ do
echo Warning. You are not root. Please become root or use fakeroot.
ROOTWARNED=1
fi
+ else
+ chown -R root.root $TDIR/*
fi
( cd $DATADIR && tar -czf $TDIR/data.tar.gz * )
( cd $CTRLDIR && tar -czf $TDIR/control.tar.gz * )