From 7bae97a01009946e5898fc5a334c6ce264d49609 Mon Sep 17 00:00:00 2001 From: Lars Müller Date: Wed, 10 Jan 2007 13:04:00 +0000 Subject: 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 --- installer/slxbootstrap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}" && \ -- cgit v1.2.3-55-g7522