author | kergoth <kergoth> | 2002-12-11 19:57:00 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-12-11 19:57:00 (UTC) |
commit | 3faddab31483bda0dd9d093cd473ffb801207b9c (patch) (unidiff) | |
tree | 5d7d16ee4114168b4468dc71e5c140a801ad13db /library | |
parent | f55158aac4a23cbdca20145634886b2b757d4465 (diff) | |
download | opie-3faddab31483bda0dd9d093cd473ffb801207b9c.zip opie-3faddab31483bda0dd9d093cd473ffb801207b9c.tar.gz opie-3faddab31483bda0dd9d093cd473ffb801207b9c.tar.bz2 |
create opie startup script links in postinst, remove in prerm, instead of including the link in the ipk
-rw-r--r-- | library/opie-base.control | 2 | ||||
-rwxr-xr-x | library/opie-base.postinst | 11 | ||||
-rwxr-xr-x | library/opie-base.prerm | 5 |
3 files changed, 17 insertions, 1 deletions
diff --git a/library/opie-base.control b/library/opie-base.control index 2441809..41b0e2e 100644 --- a/library/opie-base.control +++ b/library/opie-base.control | |||
@@ -1,12 +1,12 @@ | |||
1 | Files: etc/colors root/etc/init.d/opie root/etc/rc2.d/S98opie bin/opie-reorgfiles $QTDIR/lib/libqpe.so.1 $QTDIR/lib/libqpe.so.1.5 $QTDIR/lib/libqpe.so.1.5.0 apps/*/.directory etc/mime.types apps/Settings/quit.desktop pics/logo/* | 1 | Files: etc/colors root/etc/init.d/opie bin/opie-reorgfiles $QTDIR/lib/libqpe.so.1 $QTDIR/lib/libqpe.so.1.5 $QTDIR/lib/libqpe.so.1.5.0 apps/*/.directory etc/mime.types apps/Settings/quit.desktop pics/logo/* |
2 | Priority: required | 2 | Priority: required |
3 | Section: opie/system | 3 | Section: opie/system |
4 | Maintainer: Project Opie <opie@handhelds.org> | 4 | Maintainer: Project Opie <opie@handhelds.org> |
5 | Architecture: arm | 5 | Architecture: arm |
6 | Version: $QPE_VERSION-$SUB_VERSION.2 | 6 | Version: $QPE_VERSION-$SUB_VERSION.2 |
7 | Provides: qpe-base | 7 | Provides: qpe-base |
8 | Conflicts: qpe-base | 8 | Conflicts: qpe-base |
9 | Depends: qt-embedded (>=$QTE_VERSION), opie-qcop, opie-taskbar, opie-sounds, apmd, opie-pics, libopie, timezones | 9 | Depends: qt-embedded (>=$QTE_VERSION), opie-qcop, opie-taskbar, opie-sounds, apmd, opie-pics, libopie, timezones |
10 | Description: Base Opie environment | 10 | Description: Base Opie environment |
11 | A complete GUI environment for handhelds. | 11 | A complete GUI environment for handhelds. |
12 | You will probably want to install one of the opie-i18n-* packages. | 12 | You will probably want to install one of the opie-i18n-* packages. |
diff --git a/library/opie-base.postinst b/library/opie-base.postinst new file mode 100755 index 0000000..1d50a99 --- a/dev/null +++ b/library/opie-base.postinst | |||
@@ -0,0 +1,11 @@ | |||
1 | #/bin/sh | ||
2 | |||
3 | ln -sf ../init.d/opie /etc/rc0.d/K98opie | ||
4 | ln -sf ../init.d/opie /etc/rc1.d/K98opie | ||
5 | ln -sf ../init.d/opie /etc/rc6.d/K98opie | ||
6 | ln -sf ../init.d/opie /etc/rc2.d/S98opie | ||
7 | ln -sf ../init.d/opie /etc/rc3.d/S98opie | ||
8 | ln -sf ../init.d/opie /etc/rc4.d/S98opie | ||
9 | ln -sf ../init.d/opie /etc/rc5.d/S98opie | ||
10 | |||
11 | exit 0 | ||
diff --git a/library/opie-base.prerm b/library/opie-base.prerm new file mode 100755 index 0000000..664160b --- a/dev/null +++ b/library/opie-base.prerm | |||
@@ -0,0 +1,5 @@ | |||
1 | #/bin/sh | ||
2 | |||
3 | find /etc -name [SK][0-9][0-9]opie | xargs rm -f | ||
4 | |||
5 | exit 0 | ||