diff -ru ies4linux-2.0.orig/ies4linux ies4linux-2.0/ies4linux --- ies4linux-2.0.orig/ies4linux 2006-07-28 07:40:38.000000000 +0200 +++ ies4linux-2.0/ies4linux 2006-08-13 18:21:04.000000000 +0200 @@ -7,7 +7,8 @@ # Released under the GNU GPL. See LICENSE for more information # Discover ies4linux installation folder -IES4LINUX=`dirname "$0"` +IES4LINUX_RELPATH="$(test -L $0 && echo $(readlink $0) || echo $0)" +IES4LINUX=`dirname "$IES4LINUX_RELPATH"` cd "$IES4LINUX" export IES4LINUX=`pwd` diff -ru ies4linux-2.0.orig/lib/functions.sh ies4linux-2.0/lib/functions.sh --- ies4linux-2.0.orig/lib/functions.sh 2006-07-28 08:34:10.000000000 +0200 +++ ies4linux-2.0/lib/functions.sh 2006-08-13 15:02:53.000000000 +0200 @@ -59,12 +59,12 @@ tmp="$tmp \"$(eval echo \${$num})\"" num=$((num+1)) done - eval $tmp &> "$IES4LINUX"/cabextract.log || { - cat "$IES4LINUX"/cabextract.log - rm "$IES4LINUX"/cabextract.log + eval $tmp &> "$BASEDIR"/tmp/cabextract.log || { + cat "$BASEDIR"/tmp/cabextract.log + rm "$BASEDIR"/tmp/cabextract.log error $MSG_ERROR_CABEXTRACTING } - rm "$IES4LINUX"/cabextract.log + rm "$BASEDIR"/tmp/cabextract.log } # Post install @@ -82,4 +82,4 @@ local l=$BINDIR/ie$1 echo " ${l//\/\//\/}" fi -} \ No newline at end of file +} diff -ru ies4linux-2.0.orig/lib/messages.sh ies4linux-2.0/lib/messages.sh --- ies4linux-2.0.orig/lib/messages.sh 2006-08-02 20:27:08.000000000 +0200 +++ ies4linux-2.0/lib/messages.sh 2006-08-13 15:05:23.000000000 +0200 @@ -107,7 +107,7 @@ source "$msg_file" # Try to convert to user system encoding - iconv_tmpfile="$IES4LINUX"/lang/lang.sh + iconv_tmpfile="$BASEDIR"/tmp/lang.sh if iconv --version &> /dev/null; then iconv -f $TRANSLATION_ENCODING -t $SYSENCODING "$msg_file" > "$iconv_tmpfile" && source "$iconv_tmpfile" rm -f "$iconv_tmpfile"