summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Müller2007-01-10 14:04:00 +0100
committerLars Müller2007-01-10 14:04:00 +0100
commit7bae97a01009946e5898fc5a334c6ce264d49609 (patch)
treebd0640bda1d8a58911916bccac45d36a71eef7bd
parentAdd support to install x86_86 systems. (diff)
downloadcore-7bae97a01009946e5898fc5a334c6ce264d49609.tar.gz
core-7bae97a01009946e5898fc5a334c6ce264d49609.tar.xz
core-7bae97a01009946e5898fc5a334c6ce264d49609.zip
As our original filename does not end with .rpm we have to check if this
is a .deb file and do nothing and in the other case add the required suffix. This is a bit dirty as we have to construct this different as soon as we have a third package format beside RPM and DEB. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@608 95ad53e4-c205-0410-b2fa-d234c58c8868
-rwxr-xr-xinstaller/slxbootstrap3
1 files changed, 2 insertions, 1 deletions
diff --git a/installer/slxbootstrap b/installer/slxbootstrap
index b5300b7f..9ec77ccf 100755
--- a/installer/slxbootstrap
+++ b/installer/slxbootstrap
@@ -16,7 +16,8 @@ test "${SLX_KERNEL_ARCH}" || \
download_file () {
case "${file}" in
- *.rpm)
+ *.deb) : ;;
+ *)
if test "${file##*.}" = 'noarch'; then
file="${file}.rpm"
test "${SLX_INST_SOURCE_PACKAGE_ARCHDIR}" && \