From 4df19d5cd13556ecf64cc55b0f7a7dc01ac603ee Mon Sep 17 00:00:00 2001 From: scuri Date: Tue, 25 Jan 2011 19:09:09 +0000 Subject: *** empty log message *** --- install | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'install') diff --git a/install b/install index ad0a5ea..cf96c93 100644 --- a/install +++ b/install @@ -9,6 +9,8 @@ echo ' Must be run with "sudo" at the library folder, or install will fail:' echo ' sudo ./install' echo ' ' +SYSTEM_LIB=/usr/lib + EchoDownloadTip() { echo ' The downloaded package must already be unpacked in the current directory.' @@ -61,15 +63,15 @@ ComputeTecUname() Copy_RunTime_Extra_CD() { # Do NOT overwrite for FreeType - cp -fn $1libfreetype.so /usr/lib + cp -fn $1libfreetype.so $SYSTEM_LIB - cp -fv $1libpdflib.so /usr/lib - cp -fv $1libftgl.so /usr/lib + cp -fv $1libpdflib.so $SYSTEM_LIB + cp -fv $1libftgl.so $SYSTEM_LIB } Copy_RunTime_To_System() { - cp -fv $2lib$1*.so /usr/lib + cp -fv $2lib$1*.so $SYSTEM_LIB if [ $1 == cd ]; then Copy_RunTime_Extra_CD $2 -- cgit v1.2.3