Don't use condition to check for debian script
This commit is contained in:
parent
69031b08e5
commit
e72bdd8d9b
|
@ -184,9 +184,7 @@ function image_setup {
|
||||||
cd ~/develop/multipath-tools
|
cd ~/develop/multipath-tools
|
||||||
makepkg --force --noconfirm
|
makepkg --force --noconfirm
|
||||||
makepkg -i --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}
|
||||||
sudo wget https://raw.githubusercontent.com/bashrc/freedombone/stockholm/image_build/debootstrap/scripts/${DEBIAN_VERSION} /usr/share/debootstrap/scripts/${DEBIAN_VERSION}
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo $'Unkown operating system'
|
echo $'Unkown operating system'
|
||||||
|
|
Loading…
Reference in New Issue