summaryrefslogtreecommitdiffstats
path: root/starttde
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2013-10-11 02:29:06 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-10-11 02:29:06 +0200
commitf57f5c308495b89219e88341c3b2fd67944c3a09 (patch)
treedce52e503917132a1ee1e420cadd6cf9f8bf85d6 /starttde
parent37e840ac564a8c99a576aefb689a41ac4916f556 (diff)
downloadtdebase-f57f5c308495b89219e88341c3b2fd67944c3a09.tar.gz
tdebase-f57f5c308495b89219e88341c3b2fd67944c3a09.zip
Update starttde: Check for prelink file in both system folders
Diffstat (limited to 'starttde')
-rw-r--r--starttde8
1 files changed, 5 insertions, 3 deletions
diff --git a/starttde b/starttde
index 1eb3711b1..0d7cbff21 100644
--- a/starttde
+++ b/starttde
@@ -107,9 +107,11 @@ unset DYLD_FORCE_FLAT_NAMESPACE
if [ "$TDE_IS_PRELINKED" = "" ]; then
if [ -r /etc/default/prelink ]; then
. /etc/default/prelink
- if [ "$PRELINKING" = "yes" ]; then
- export TDE_IS_PRELINKED=1
- fi
+ elif [ -r /etc/sysconfig/prelink ]; then
+ . /etc/sysconfig/prelink
+ fi
+ if [ "$PRELINKING" = "yes" ]; then
+ export TDE_IS_PRELINKED=1
fi
fi