Unidiff1 files changed, 2 insertions, 2 deletions
|
diff --git a/mkipks b/mkipks index 572c8f1..b355689 100755 --- a/ mkipks+++ b/ mkipks |
|
@@ -196,26 +196,26 @@ do |
196 | do |
196 | do |
197 | if [ -x ${base}.$pf ] |
197 | if [ -x ${base}.$pf ] |
198 | then |
198 | then |
199 | cp ${base}.$pf $CTRLDIR/$pf |
199 | cp ${base}.$pf $CTRLDIR/$pf |
200 | fi |
200 | fi |
201 | done |
201 | done |
202 | if [ "$UID" = 0 ] |
202 | if [ "$UID" = 0 ] |
203 | then |
203 | then |
204 | chown -R root.root $TDIR |
204 | chown -R root.root $TDIR |
205 | else |
205 | else |
206 | echo "Warning: You are not root. Unable to squash permissions." |
206 | echo "Warning: You are not root. Unable to squash permissions." |
207 | fi |
207 | fi |
208 | ( cd $CTRLDIR; tar --owner=root --group=root cfz ../control.tar.gz ./*; ) |
208 | ( cd $CTRLDIR; tar cfz ../control.tar.gz ./*; ) |
209 | ( cd $DATADIR; tar --owner=root --group=root cfz ../data.tar.gz ./*; ) |
209 | ( cd $DATADIR; tar cfz ../data.tar.gz ./*; ) |
210 | ( cd $TDIR; rm -rf control data; tar cf - ./debian-binary ./control.tar.gz ./data.tar.gz; ) | gzip >$RDIR/$package.ipk |
210 | ( cd $TDIR; rm -rf control data; tar cf - ./debian-binary ./control.tar.gz ./data.tar.gz; ) | gzip >$RDIR/$package.ipk |
211 | RESULT=$package.ipk |
211 | RESULT=$package.ipk |
212 | if [ -n "$VERB" ] |
212 | if [ -n "$VERB" ] |
213 | then |
213 | then |
214 | echo >&2 "Built $RESULT ($size)" |
214 | echo >&2 "Built $RESULT ($size)" |
215 | fi |
215 | fi |
216 | if [ -n "$LIST" ] |
216 | if [ -n "$LIST" ] |
217 | then |
217 | then |
218 | echo $RESULT |
218 | echo $RESULT |
219 | fi |
219 | fi |
220 | fi |
220 | fi |
221 | else |
221 | else |
|