summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2009-01-27 17:30:20 +0000
committerPascal Rigaux <pixel@mandriva.com>2009-01-27 17:30:20 +0000
commit4a5255c5fd969f74cf8b6ba7c1b4e58c5070ab08 (patch)
tree329af181ffc325be2ec203b4905708a9bb083687 /src
parentd22f36b1528465e6098fd7422852a3f06b3c678c (diff)
downloadbootloader-theme-4a5255c5fd969f74cf8b6ba7c1b4e58c5070ab08.tar
bootloader-theme-4a5255c5fd969f74cf8b6ba7c1b4e58c5070ab08.tar.gz
bootloader-theme-4a5255c5fd969f74cf8b6ba7c1b4e58c5070ab08.tar.bz2
bootloader-theme-4a5255c5fd969f74cf8b6ba7c1b4e58c5070ab08.tar.xz
bootloader-theme-4a5255c5fd969f74cf8b6ba7c1b4e58c5070ab08.zip
we use i586, not i386
the code is checking wether the CD root directory has i586/ and/or x86_64/ since we use i586, we must adapt
Diffstat (limited to 'src')
-rw-r--r--src/common.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common.inc b/src/common.inc
index 1d09369..736eb67 100644
--- a/src/common.inc
+++ b/src/common.inc
@@ -74,7 +74,7 @@
%
% Check if there are boot directories for 32 & 64bit.
%
-% Assumes 32bit to be in *i386* and 64bit in *x86_64*.
+% Assumes 32bit to be in *i586* and 64bit in *x86_64*.
%
% ( ) ==> ( )
%
@@ -82,13 +82,13 @@
getcwd dup .undef ne {
/64bit.tmp 256 string def
- dup "i386" strstr 0 ne over "x86_64" strstr 0 ne or {
- dup "i386" strstr {
+ dup "i586" strstr 0 ne over "x86_64" strstr 0 ne or {
+ dup "i586" strstr {
/32bit_boot_dir exch def
- /64bit_boot_dir 32bit_boot_dir "i386" "x86_64" strreplace
+ /64bit_boot_dir 32bit_boot_dir "i586" "x86_64" strreplace
} {
/64bit_boot_dir exch def
- /32bit_boot_dir 64bit_boot_dir "x86_64" "i386" strreplace
+ /32bit_boot_dir 64bit_boot_dir "x86_64" "i586" strreplace
} ifelse
dup "%s/isolinux.cfg" 64bit.tmp sprintf