aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/simplaret
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/simplaret')
-rwxr-xr-xtrunk/src/simplaret16
1 files changed, 8 insertions, 8 deletions
diff --git a/trunk/src/simplaret b/trunk/src/simplaret
index 59fc3fd..700c3bc 100755
--- a/trunk/src/simplaret
+++ b/trunk/src/simplaret
@@ -995,13 +995,13 @@ function simplaret_set_arch {
local repos_type new_arch
- # any arch defined in ARCH_i386 that hasn't an entry
- # on $REPOS_CONF will be mapped to i386
+ # any arch defined in ARCH_i486 that hasn't an entry
+ # on $REPOS_CONF will be mapped to i486
- ARCH_i386=" nocona prescott pentium4m pentium4 pentium-m pentium3m pentium3 "
- ARCH_i386="$ARCH_i386 pentium2 i686 pentium-pro i586 pentium-mmx pentium i486 "
- ARCH_i386="$ARCH_i386 athlon-mp athlon-xp athlon4 athlon-tbird athlon k6 k6-2 "
- ARCH_i386="$ARCH_i386 k6-3 winchip-c6 winchip2 c3 c3-2 i386 "
+ ARCH_i486=" nocona prescott pentium4m pentium4 pentium-m pentium3m pentium3 "
+ ARCH_i486="$ARCH_i486 pentium2 i686 pentium-pro i586 pentium-mmx pentium i486 "
+ ARCH_i486="$ARCH_i486 athlon-mp athlon-xp athlon4 athlon-tbird athlon k6 k6-2 "
+ ARCH_i486="$ARCH_i486 k6-3 winchip-c6 winchip2 c3 c3-2 "
# any arch defined in ARCH_x86_64 that hasn't an entry
# on $REPOS_CONF will be mapped to x86_64
@@ -1011,8 +1011,8 @@ function simplaret_set_arch {
for repos_type in patches root repos noarch; do
if [ -z "`simplaret_repository $repos_type`" ]; then
# there's no repository definition for that arch
- if echo "$ARCH_i386" | grep -q " $ARCH "; then
- new_arch="i386"
+ if echo "$ARCH_i486" | grep -q " $ARCH "; then
+ new_arch="i486"
elif echo "$ARCH_x86_64" | grep -q " $ARCH "; then
new_arch="x86_64"
else