mirror of
https://github.com/hackacad/bastille.git
synced 2026-03-25 02:05:11 +01:00
Merge pull request #1318 from BastilleBSD/tschettervictor-patch-1
bootstrap: fix linux
This commit is contained in:
@@ -427,9 +427,9 @@ bootstrap_release_linux() {
|
||||
|
||||
if [ "${PLATFORM_OS}" = "Linux/Debian" ] || [ "${PLATFORM_OS}" = "Linux/Ubuntu" ]; then
|
||||
# Fetch the Linux flavor
|
||||
if ! debootstrap --foreign --arch=${ARCH_BOOTSTRAP} --no-check-gpg ${RELEASE} "${bastille_releasesdir}"/${RELEASE}; then
|
||||
if ! debootstrap --foreign --arch=${ARCH_BOOTSTRAP} --no-check-gpg ${LINUX_FLAVOR} "${bastille_releasesdir}"/${RELEASE}; then
|
||||
ERRORS=$((ERRORS + 1))
|
||||
error_notify "[ERROR]: Failed to fetch Linux release: ${RELEASE}"
|
||||
error_notify "[ERROR]: Failed to fetch Linux release: ${LINUX_FLAVOR}"
|
||||
return 1
|
||||
fi
|
||||
|
||||
@@ -732,4 +732,4 @@ if [ "${ERRORS}" -eq 0 ]; then
|
||||
echo
|
||||
else
|
||||
error_exit "[ERROR]: Bootstrap failed!"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user