Unidiff1 files changed, 2 insertions, 0 deletions
|
diff --git a/mkipks b/mkipks index 29db5c0..b813e83 100755 --- a/ mkipks+++ b/ mkipks |
|
@@ -236,16 +236,18 @@ do |
236 | else |
236 | else |
237 | if [ "`id -u`" != "0" ] |
237 | if [ "`id -u`" != "0" ] |
238 | then |
238 | then |
239 | if [ -z "$ROOTWARNED" ] |
239 | if [ -z "$ROOTWARNED" ] |
240 | then |
240 | then |
241 | echo Warning. You are not root. Please become root or use fakeroot. |
241 | echo Warning. You are not root. Please become root or use fakeroot. |
242 | ROOTWARNED=1 |
242 | ROOTWARNED=1 |
243 | fi |
243 | fi |
| |
244 | else |
| |
245 | chown -R root.root $TDIR/* |
244 | fi |
246 | fi |
245 | ( cd $DATADIR && tar -czf $TDIR/data.tar.gz * ) |
247 | ( cd $DATADIR && tar -czf $TDIR/data.tar.gz * ) |
246 | ( cd $CTRLDIR && tar -czf $TDIR/control.tar.gz * ) |
248 | ( cd $CTRLDIR && tar -czf $TDIR/control.tar.gz * ) |
247 | ( cd $TDIR && tar -czf $OPIEDIR/$package.ipk ./control.tar.gz ./data.tar.gz ./debian-binary ) |
249 | ( cd $TDIR && tar -czf $OPIEDIR/$package.ipk ./control.tar.gz ./data.tar.gz ./debian-binary ) |
248 | fi |
250 | fi |
249 | RESULT=$package.ipk |
251 | RESULT=$package.ipk |
250 | if [ -n "$VERB" ] |
252 | if [ -n "$VERB" ] |
251 | then |
253 | then |
|