Check that debian script was installed
This commit is contained in:
parent
f517aeec32
commit
9e6b054708
|
@ -186,6 +186,10 @@ function image_setup {
|
||||||
makepkg -i --force --noconfirm
|
makepkg -i --force --noconfirm
|
||||||
sudo wget https://raw.githubusercontent.com/bashrc/freedombone/stockholm/image_build/debootstrap/scripts/${DEBIAN_VERSION} -O /usr/share/debootstrap/scripts/debscript
|
sudo wget https://raw.githubusercontent.com/bashrc/freedombone/stockholm/image_build/debootstrap/scripts/${DEBIAN_VERSION} -O /usr/share/debootstrap/scripts/debscript
|
||||||
sudo cp -f /usr/share/debootstrap/scripts/debscript /usr/share/debootstrap/scripts/${DEBIAN_VERSION}
|
sudo cp -f /usr/share/debootstrap/scripts/debscript /usr/share/debootstrap/scripts/${DEBIAN_VERSION}
|
||||||
|
if [ ! -f /usr/share/debootstrap/scripts/${DEBIAN_VERSION} ]; then
|
||||||
|
echo $"No debian dbootstrap script was found for $DEBIAN_VERSION"
|
||||||
|
return
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo $'Unkown operating system'
|
echo $'Unkown operating system'
|
||||||
|
|
Loading…
Reference in New Issue