View | Details | Raw Unified
Collapse All | Expand All

(-) ies4linux-2.0.orig/ies4linux (-1 / +2 lines)
 Lines 7-13    Link Here 
# Released under the GNU GPL. See LICENSE for more information
# Released under the GNU GPL. See LICENSE for more information
# Discover ies4linux installation folder
# Discover ies4linux installation folder
IES4LINUX=`dirname "$0"`
IES4LINUX_RELPATH="$(test -L $0 && echo $(readlink $0) || echo $0)"
IES4LINUX=`dirname "$IES4LINUX_RELPATH"`
cd "$IES4LINUX"
cd "$IES4LINUX"
export IES4LINUX=`pwd`
export IES4LINUX=`pwd`
(-) ies4linux-2.0.orig/lib/functions.sh (-5 / +5 lines)
 Lines 59-70    Link Here 
		tmp="$tmp \"$(eval echo \${$num})\""
		tmp="$tmp \"$(eval echo \${$num})\""
		num=$((num+1))
		num=$((num+1))
	done
	done
	eval $tmp &> "$IES4LINUX"/cabextract.log || {
		eval $tmp &> "$BASEDIR"/tmp/cabextract.log || {
		cat "$IES4LINUX"/cabextract.log
		cat "$BASEDIR"/tmp/cabextract.log
		rm "$IES4LINUX"/cabextract.log
		rm "$BASEDIR"/tmp/cabextract.log
		error $MSG_ERROR_CABEXTRACTING
		error $MSG_ERROR_CABEXTRACTING
	}
	}
	rm "$IES4LINUX"/cabextract.log
	rm "$BASEDIR"/tmp/cabextract.log
}
}
# Post install
# Post install
 Lines 82-85    Link Here 
		local l=$BINDIR/ie$1
		local l=$BINDIR/ie$1
		echo " ${l//\/\//\/}"
		echo " ${l//\/\//\/}"
	fi
	fi
}
}
(-) ies4linux-2.0.orig/lib/messages.sh (-1 / +1 lines)
 Lines 107-113    Link Here 
    source "$msg_file"
    source "$msg_file"
    # Try to convert to user system encoding
    # 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
    if iconv --version &> /dev/null; then
        iconv -f $TRANSLATION_ENCODING -t $SYSENCODING "$msg_file" > "$iconv_tmpfile" && source "$iconv_tmpfile"
        iconv -f $TRANSLATION_ENCODING -t $SYSENCODING "$msg_file" > "$iconv_tmpfile" && source "$iconv_tmpfile"
	rm -f "$iconv_tmpfile"
	rm -f "$iconv_tmpfile"