diff options
author | Francois Andriot <francois.andriot@free.fr> | 2013-10-11 02:29:06 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-10-11 02:29:06 +0200 |
commit | f57f5c308495b89219e88341c3b2fd67944c3a09 (patch) | |
tree | dce52e503917132a1ee1e420cadd6cf9f8bf85d6 | |
parent | 37e840ac564a8c99a576aefb689a41ac4916f556 (diff) | |
download | tdebase-f57f5c308495b89219e88341c3b2fd67944c3a09.tar.gz tdebase-f57f5c308495b89219e88341c3b2fd67944c3a09.zip |
Update starttde: Check for prelink file in both system folders
-rw-r--r-- | starttde | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |