From 0daf9f7ba7b50fea5c9764cf0dc05ad76c005716 Mon Sep 17 00:00:00 2001 From: scuri Date: Sat, 26 Feb 2011 02:27:09 +0000 Subject: *** empty log message *** --- install | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'install') diff --git a/install b/install index 1cea26a..50a33ba 100644 --- a/install +++ b/install @@ -3,13 +3,6 @@ # Include TEC_UNAME definitions source tec_uname -# System paths -if [ -d /usr/lib64 ]; then - SYSTEM_LIB=/usr/lib64 -else - SYSTEM_LIB=/usr/lib -fi - echo ' ' echo ' This script will install the >>Run Time<< libraries in the system' echo ' from the build directories or from the unpacked download.' @@ -24,24 +17,24 @@ EchoDownloadTip() echo ' The downloaded package must already be unpacked in the current directory.' echo ' Do NOT unpack different packages in the same directory.' echo ' For example:' - echo ' mkdir iup' - echo ' cd iup' - echo ' tar -xpvzf ../iup-3.2_Linux26g4_lib.tar.gz' + echo ' mkdir cd' + echo ' cd cd' + echo ' tar -xpvzf ../cd-X.X_Linux26g4_lib.tar.gz' echo ' ' } Copy_RunTime_Extra_CD() { # Do NOT overwrite for FreeType - cp -fn $1libfreetype.so $SYSTEM_LIB + cp -fn $1libfreetype.so $TEC_SYSTEM_LIB - cp -fv $1libpdflib.so $SYSTEM_LIB - cp -fv $1libftgl.so $SYSTEM_LIB + cp -fv $1libpdflib.so $TEC_SYSTEM_LIB + cp -fv $1libftgl.so $TEC_SYSTEM_LIB } Copy_RunTime_To_System() { - cp -fv $2lib$1*.so $SYSTEM_LIB + cp -fv $2lib$1*.so $TEC_SYSTEM_LIB if [ $1 == cd ]; then Copy_RunTime_Extra_CD $2 @@ -65,6 +58,9 @@ Install_RunTime() fi } +# From tec_uname script ComputeTecUname +ComputeSystemPaths +#PrintInfo Install_RunTime cd -- cgit v1.2.3