|
@@ -186,6 +186,10 @@ function image_setup {
|
186
|
186
|
makepkg -i --force --noconfirm
|
187
|
187
|
sudo wget https://raw.githubusercontent.com/bashrc/freedombone/stockholm/image_build/debootstrap/scripts/${DEBIAN_VERSION} -O /usr/share/debootstrap/scripts/debscript
|
188
|
188
|
sudo cp -f /usr/share/debootstrap/scripts/debscript /usr/share/debootstrap/scripts/${DEBIAN_VERSION}
|
|
189
|
+ if [ ! -f /usr/share/debootstrap/scripts/${DEBIAN_VERSION} ]; then
|
|
190
|
+ echo $"No debian dbootstrap script was found for $DEBIAN_VERSION"
|
|
191
|
+ return
|
|
192
|
+ fi
|
189
|
193
|
;;
|
190
|
194
|
*)
|
191
|
195
|
echo $'Unkown operating system'
|