diff options
| author | Lars Müller | 2007-01-27 22:10:22 +0100 |
|---|---|---|
| committer | Lars Müller | 2007-01-27 22:10:22 +0100 |
| commit | ee820e3b8aa9e8b61748164f35d1cd3f373b9135 (patch) | |
| tree | 3ef28c86cec59459e807348a3635a84acdf7fad0 /installer | |
| parent | Do not check if smart or any other meta packager is available in the (diff) | |
| download | core-ee820e3b8aa9e8b61748164f35d1cd3f373b9135.tar.gz core-ee820e3b8aa9e8b61748164f35d1cd3f373b9135.tar.xz core-ee820e3b8aa9e8b61748164f35d1cd3f373b9135.zip | |
Redefine the SLX_INST_ARCH as Debian based systems use amd64 instead of
x86_64.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@644 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer')
| -rwxr-xr-x | installer/slxossetup | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/installer/slxossetup b/installer/slxossetup index 94ce5789..d8bb3553 100755 --- a/installer/slxossetup +++ b/installer/slxossetup @@ -478,7 +478,13 @@ function slxossetup() SLX_INST_ARCH=$( uname -m) case "${SLX_INST_ARCH}" in i*86) SLX_INST_ARCH="${X86_ARCH}" ;; - x86_64) SLX_INST_ARCH='x86_64' ;; + x86_64) + # Redefine SLX_INST_ARCH in the case of Debian + # based systems. + case "${SLX_SYSTEM_BASENAME}" in + *debian*|*ubuntu*) SLX_INST_ARCH='amd64' ;; + esac + ;; *) ErrorMsg 1 "Unsupported machine hardware ${SLX_INST_ARCH}." ;; |
