Skip to content
Snippets Groups Projects
Commit 9e6b0547 authored by Bob Mottram's avatar Bob Mottram
Browse files

Check that debian script was installed

parent f517aeec
No related branches found
No related tags found
No related merge requests found
......@@ -186,6 +186,10 @@ function image_setup {
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 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'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment