summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rwxr-xr-xlibopie/libopie.postinst4
-rwxr-xr-xlibrary/opie-base.postinst3
-rwxr-xr-xqt/qt-embedded.postinst4
3 files changed, 10 insertions, 1 deletions
diff --git a/libopie/libopie.postinst b/libopie/libopie.postinst
new file mode 100755
index 0000000..50d922c
--- a/dev/null
+++ b/libopie/libopie.postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+[ -x ldconfig ] && ldconfig
+exit 0
diff --git a/library/opie-base.postinst b/library/opie-base.postinst
index 1d50a99..c1aeef8 100755
--- a/library/opie-base.postinst
+++ b/library/opie-base.postinst
@@ -1,5 +1,5 @@
-#/bin/sh
+#!/bin/sh
ln -sf ../init.d/opie /etc/rc0.d/K98opie
ln -sf ../init.d/opie /etc/rc1.d/K98opie
ln -sf ../init.d/opie /etc/rc6.d/K98opie
@@ -7,5 +7,6 @@ ln -sf ../init.d/opie /etc/rc2.d/S98opie
ln -sf ../init.d/opie /etc/rc3.d/S98opie
ln -sf ../init.d/opie /etc/rc4.d/S98opie
ln -sf ../init.d/opie /etc/rc5.d/S98opie
+[ -x ldconfig ] && ldconfig
exit 0
diff --git a/qt/qt-embedded.postinst b/qt/qt-embedded.postinst
new file mode 100755
index 0000000..50d922c
--- a/dev/null
+++ b/qt/qt-embedded.postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+[ -x ldconfig ] && ldconfig
+exit 0