[Lunar-commits] <moonbase> t1lib: t1x might not exist

Paul Bredbury brebs at lunar-linux.org
Fri Feb 25 12:38:12 CET 2011


commit b93c3e1e4cfbb786df664bf70e58817e5ce9ef04
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Fri Feb 25 18:38:12 2011 +0700

    t1lib: t1x might not exist
    
    Thanks to Christian Krause for idea.
---
 libs/t1lib/BUILD |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/libs/t1lib/BUILD b/libs/t1lib/BUILD
index f6a3b14..d9dbd36 100644
--- a/libs/t1lib/BUILD
+++ b/libs/t1lib/BUILD
@@ -7,6 +7,9 @@
   prepare_install           &&
   make    install           &&
 
-  chmod 755 /usr/lib/libt1{,x}.so.$VERSION
+  chmod 755 /usr/lib/libt1.so.$VERSION &&
+  if [[ -f /usr/lib/libt1x.so.$VERSION ]] ; then
+    chmod 755 /usr/lib/libt1x.so.$VERSION
+  fi
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list