summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
Diffstat (limited to 'installer')
-rwxr-xr-xinstaller/slxbootstrap9
1 files changed, 8 insertions, 1 deletions
diff --git a/installer/slxbootstrap b/installer/slxbootstrap
index 6dcc2622..f240ef0f 100755
--- a/installer/slxbootstrap
+++ b/installer/slxbootstrap
@@ -13,7 +13,14 @@ test "${SLX_INST_SOURCE_PACKAGE_SUBDIR}" && \
SLX_INST_SOURCE_PACKAGE_SUBDIR="/${SLX_INST_SOURCE_PACKAGE_SUBDIR}"
download_file () {
- wget "${SLX_INST_SOURCE_BASEURL}${SLX_INST_SOURCE_PACKAGE_SUBDIR}/${file}"
+ case ${file} in
+ ftp://*|http://*)
+ wget "${file}"
+ ;;
+ *)
+ wget "${SLX_INST_SOURCE_BASEURL}${SLX_INST_SOURCE_PACKAGE_SUBDIR}/${file}"
+ ;;
+ esac
if test $? != 0; then
if test "${SLX_BOOTSTRAP_FAIL_WGET}" = "no"; then
continue