Don't use condition to check for debian script

This commit is contained in:
Bob Mottram 2016-11-05 18:47:22 +00:00
parent 69031b08e5
commit e72bdd8d9b
1 changed files with 1 additions and 3 deletions

View File

@ -184,9 +184,7 @@ function image_setup {
cd ~/develop/multipath-tools
makepkg --force --noconfirm
makepkg -i --force --noconfirm
if [ ! -f /usr/share/debootstrap/scripts/${DEBIAN_VERSION} ]; then
sudo wget https://raw.githubusercontent.com/bashrc/freedombone/stockholm/image_build/debootstrap/scripts/${DEBIAN_VERSION} /usr/share/debootstrap/scripts/${DEBIAN_VERSION}
fi
sudo wget https://raw.githubusercontent.com/bashrc/freedombone/stockholm/image_build/debootstrap/scripts/${DEBIAN_VERSION} /usr/share/debootstrap/scripts/${DEBIAN_VERSION}
;;
*)
echo $'Unkown operating system'