-rwxr-xr-x | mkipks | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -228,32 +228,34 @@ do if [ -x ${base}.$pf ] then cp ${base}.$pf $CTRLDIR/$pf fi done if [ -z "$CLASSIC" ] then $OPIEDIR/scripts/ipkg-build -o root -g root $TDIR else if [ "`id -u`" != "0" ] then if [ -z "$ROOTWARNED" ] then 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 * ) ( cd $TDIR && tar -czf $OPIEDIR/$package.ipk ./control.tar.gz ./data.tar.gz ./debian-binary ) fi RESULT=$package.ipk if [ -n "$VERB" ] then echo >&2 "Built $RESULT ($size)" fi if [ -n "$LIST" ] then echo $RESULT fi fi else |