summaryrefslogtreecommitdiff
path: root/mkipks
Unidiff
Diffstat (limited to 'mkipks') (more/less context) (ignore whitespace changes)
-rwxr-xr-xmkipks5
1 files changed, 4 insertions, 1 deletions
diff --git a/mkipks b/mkipks
index 2259221..b3f87c8 100755
--- a/mkipks
+++ b/mkipks
@@ -8,6 +8,9 @@ mkdir -p etc/rc2.d
8rm -f etc/rc2.d/S98qpe 8rm -f etc/rc2.d/S98qpe
9ln -s ../init.d/qpe etc/rc2.d/S98qpe 9ln -s ../init.d/qpe etc/rc2.d/S98qpe
10 10
11rm -f ipaq/etc/rc2.d/S96opieatd
12ln -s ../init.d/opieatd ipaq/etc/rc2.d/S96opieatd
13
11VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) 14VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h)
12VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) 15VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h)
13VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) 16VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h)
@@ -192,7 +195,7 @@ do
192 echo "Depends: $depends" >>$CTRLDIR/control 195 echo "Depends: $depends" >>$CTRLDIR/control
193 echo "Provides: $provides" >>$CTRLDIR/control 196 echo "Provides: $provides" >>$CTRLDIR/control
194 echo "Conflicts: $conflicts" >>$CTRLDIR/control 197 echo "Conflicts: $conflicts" >>$CTRLDIR/control
195 egrep -v "^(Files|Version|Depends):" >>$CTRLDIR/control $i 198 egrep -v "^(Files|Version|Depends|Provides|Conflicts):" >>$CTRLDIR/control $i
196 echo "$DEB_VERSION" >$TDIR/debian-binary 199 echo "$DEB_VERSION" >$TDIR/debian-binary
197 base=${i%.control} 200 base=${i%.control}
198 scripts="preinst postinst prerm postrm" 201 scripts="preinst postinst prerm postrm"