#!/bin/bash #Check if config is in current directory if [[ ! -f Locations.conf ]];then echo "Location config not found, Please got to the Project directory" exit 10 fi source Locations.conf TargetDir="$WWWStore/Installer/OpenSuse/Leap" [ -d "$TargetDir" ] || mkdir -p $TargetDir wget http://download.opensuse.org/distribution/openSUSE-stable/repo/oss/boot/x86_64/loader/initrd -O $TargetDir/initrd wget http://download.opensuse.org/distribution/openSUSE-stable/repo/oss/boot/x86_64/loader/linux -O $TargetDir/linux