author | kergoth <kergoth> | 2002-11-20 22:22:26 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-11-20 22:22:26 (UTC) |
commit | bbf51378cf165bb2c60b64a1bad141379145889d (patch) (side-by-side diff) | |
tree | 7c5168668e23161f94ffdc7c7754754b7476c5a7 /mkipks | |
parent | b0dc62061b6581cb416f01e706610e4cb076935d (diff) | |
download | opie-bbf51378cf165bb2c60b64a1bad141379145889d.zip opie-bbf51378cf165bb2c60b64a1bad141379145889d.tar.gz opie-bbf51378cf165bb2c60b64a1bad141379145889d.tar.bz2 |
Create sys v init script symlinks in postinst and remove in prerm rather than including the links in the ipk
-rwxr-xr-x | mkipks | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -1,28 +1,24 @@ #!/bin/sh QTE_VERSION=2.3.4 DEB_VERSION=2.0 # Have to do this here, since CVS can't store symlinks mkdir -p $OPIEDIR/etc/rc2.d ln -sf ../init.d/opie $OPIEDIR/etc/rc2.d/S98opie mkdir -p $OPIEDIR/etc/rcS.d ln -sf ../init.d/bootsplash $OPIEDIR/etc/rcS.d/S01bootsplash -ln -sf ../init.d/opieatd $OPIEDIR/root/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 [ -z "$VERSION_CVS" ] && VERSION_CVS="$(date +%Y%m%d)" SUB_VERSION=$VERSION_CVS else VERSION_CVS="" fi |