author | sandman <sandman> | 2002-12-22 17:17:56 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-12-22 17:17:56 (UTC) |
commit | 275ce580b85be3b439bbb907efce5036c3282c56 (patch) (unidiff) | |
tree | 800a8fbd84355f0a80b7845be76f547d1885bd0f | |
parent | c8a5bdd7d4b7de88708e88df797bd494eb6f7e71 (diff) | |
download | opie-275ce580b85be3b439bbb907efce5036c3282c56.zip opie-275ce580b85be3b439bbb907efce5036c3282c56.tar.gz opie-275ce580b85be3b439bbb907efce5036c3282c56.tar.bz2 |
call ldconfig in postinst for libraries (only if it is installed)
-rwxr-xr-x | libopie/libopie.postinst | 4 | ||||
-rwxr-xr-x | library/opie-base.postinst | 3 | ||||
-rwxr-xr-x | qt/qt-embedded.postinst | 4 |
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 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | [ -x ldconfig ] && ldconfig | ||
4 | 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,4 +1,4 @@ | |||
1 | #/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | ln -sf ../init.d/opie /etc/rc0.d/K98opie | 3 | ln -sf ../init.d/opie /etc/rc0.d/K98opie |
4 | ln -sf ../init.d/opie /etc/rc1.d/K98opie | 4 | ln -sf ../init.d/opie /etc/rc1.d/K98opie |
@@ -8,4 +8,5 @@ ln -sf ../init.d/opie /etc/rc3.d/S98opie | |||
8 | ln -sf ../init.d/opie /etc/rc4.d/S98opie | 8 | ln -sf ../init.d/opie /etc/rc4.d/S98opie |
9 | ln -sf ../init.d/opie /etc/rc5.d/S98opie | 9 | ln -sf ../init.d/opie /etc/rc5.d/S98opie |
10 | 10 | ||
11 | [ -x ldconfig ] && ldconfig | ||
11 | exit 0 | 12 | 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 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | [ -x ldconfig ] && ldconfig | ||
4 | exit 0 | ||