-rwxr-xr-x | mkipks | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -5,12 +5,15 @@ DEB_VERSION=2.0 # Have to do this here, since CVS can't store symlinks mkdir -p etc/rc2.d rm -f etc/rc2.d/S98qpe ln -s ../init.d/qpe etc/rc2.d/S98qpe +rm -f ipaq/etc/rc2.d/S96opieatd +ln -s ../init.d/opieatd ipaq/etc/rc2.d/S96opieatd + VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h then @@ -189,13 +192,13 @@ do echo "Installed-Size: $size" >>$CTRLDIR/control echo "Filename: ./$package.ipk" >>$CTRLDIR/control echo "Version: $version" >>$CTRLDIR/control echo "Depends: $depends" >>$CTRLDIR/control echo "Provides: $provides" >>$CTRLDIR/control echo "Conflicts: $conflicts" >>$CTRLDIR/control - egrep -v "^(Files|Version|Depends):" >>$CTRLDIR/control $i + egrep -v "^(Files|Version|Depends|Provides|Conflicts):" >>$CTRLDIR/control $i echo "$DEB_VERSION" >$TDIR/debian-binary base=${i%.control} scripts="preinst postinst prerm postrm" for pf in $scripts do if [ -x ${base}.$pf ] |