View | Details | Raw Unified
Collapse All | Expand All

(-) ies4linux-2.0.3-orig/ies4linux (-4 / +11 lines)
 Lines 7-16    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`
# Changes to the user's home directory, in case "$IES4LINUX" is not writable,
# because executing `wine --version` (executed, notably, in "lib/messages.sh"),
# while in a directory where the user does not have write permission,
# leads to (unimportant?) warnings.
cd "$HOME"
# Create log file
# Create log file
# mkdir -p "$HOME"/.ies4linux
# mkdir -p "$HOME"/.ies4linux
# touch "$HOME"/.ies4linux/log
# touch "$HOME"/.ies4linux/log
 Lines 40-48    Link Here 
INSTALLIE2=0
INSTALLIE2=0
# Basic imports
# Basic imports
source lib/functions.sh
source "$IES4LINUX"/lib/functions.sh
source lib/terminal.sh
source "$IES4LINUX"/lib/terminal.sh
source lib/messages.sh
source "$IES4LINUX"/lib/messages.sh
# Get some command-line options.
# Get some command-line options.
# If an option is specified on the command line, the user won't be asked for it later on.
# If an option is specified on the command line, the user won't be asked for it later on.
(-) ies4linux-2.0.3-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 85-88    Link Here 
		local l=$BINDIR/ie$1
		local l=$BINDIR/ie$1
		echo " ${l//\/\//\/}"
		echo " ${l//\/\//\/}"
	fi
	fi
}
}
(-) ies4linux-2.0.3-orig/lib/install.sh (-2 / +2 lines)
 Lines 89-95    Link Here 
	subsection $MSG_INSTALLING_REGISTRY
	subsection $MSG_INSTALLING_REGISTRY
		add_registry "$IES4LINUX"/winereg/ie6.reg
		add_registry "$IES4LINUX"/winereg/ie6.reg
		add_registry "$IES4LINUX"/winereg/homepage.reg
		add_registry "$BASEDIR"/tmp/homepage.reg
	
	
	subsection $MSG_FINALIZING
	subsection $MSG_FINALIZING
		wineboot
		wineboot
 Lines 236-239    Link Here 
		clean_tmp
		clean_tmp
	
	
	ok
	ok
}
}
(-) ies4linux-2.0.3-orig/lib/messages.sh (-2 / +2 lines)
 Lines 110-116    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"
 Lines 124-130    Link Here 
exec 0<&6
exec 0<&6
# generate homepage registry file
# generate homepage registry file
cat <<FIM > "$IES4LINUX"/winereg/homepage.reg
cat <<FIM > "$BASEDIR"/tmp/homepage.reg
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Start Page"="${OK_URL}"
"Start Page"="${OK_URL}"
FIM
FIM