summaryrefslogtreecommitdiff
path: root/mkipks
Unidiff
Diffstat (limited to 'mkipks') (more/less context) (ignore whitespace changes)
-rwxr-xr-xmkipks1
1 files changed, 0 insertions, 1 deletions
diff --git a/mkipks b/mkipks
index 85eeb5d..6a1d46e 100755
--- a/mkipks
+++ b/mkipks
@@ -213,25 +213,24 @@ do
213 fi 213 fi
214 echo "Package: $packagename" >$CTRLDIR/control 214 echo "Package: $packagename" >$CTRLDIR/control
215 if [ ! -z "$size" ]; then 215 if [ ! -z "$size" ]; then
216 echo "Installed-Size: $size" >>$CTRLDIR/control 216 echo "Installed-Size: $size" >>$CTRLDIR/control
217 else 217 else
218 if [ -z "$SIZEWARNED" ] 218 if [ -z "$SIZEWARNED" ]
219 then 219 then
220 echo "Warning, no mkfs.jffs2 found, unable to set Installed-Size." 220 echo "Warning, no mkfs.jffs2 found, unable to set Installed-Size."
221 SIZEWARNED=1 221 SIZEWARNED=1
222 fi 222 fi
223 fi 223 fi
224 echo "Architecture: $ARCH" >>$CTRLDIR/control 224 echo "Architecture: $ARCH" >>$CTRLDIR/control
225 echo "Filename: ./$package.ipk" >>$CTRLDIR/control
226 echo "Version: $version" >>$CTRLDIR/control 225 echo "Version: $version" >>$CTRLDIR/control
227 [ ! -z "$depends" ] && echo "Depends: $depends" >>$CTRLDIR/control 226 [ ! -z "$depends" ] && echo "Depends: $depends" >>$CTRLDIR/control
228 [ ! -z "$provides" ] && echo "Provides: $provides" >>$CTRLDIR/control 227 [ ! -z "$provides" ] && echo "Provides: $provides" >>$CTRLDIR/control
229 [ ! -z "$conflicts" ] && echo "Conflicts: $conflicts" >>$CTRLDIR/control 228 [ ! -z "$conflicts" ] && echo "Conflicts: $conflicts" >>$CTRLDIR/control
230 egrep -v "^(Files|Version|Depends|Provides|Conflicts|Architecture):" >>$CTRLDIR/control $i 229 egrep -v "^(Files|Version|Depends|Provides|Conflicts|Architecture):" >>$CTRLDIR/control $i
231 [ -n "$classicopts" ] && echo "$DEB_VERSION" >$TDIR/debian-binary 230 [ -n "$classicopts" ] && echo "$DEB_VERSION" >$TDIR/debian-binary
232 base=${i%.control} 231 base=${i%.control}
233 scripts="preinst postinst prerm postrm" 232 scripts="preinst postinst prerm postrm"
234 for pf in $scripts 233 for pf in $scripts
235 do 234 do
236 if [ -e ${base}.$pf ] 235 if [ -e ${base}.$pf ]
237 then 236 then