We want to build on Debian too...
This commit is contained in:
parent
faeefa37cd
commit
267d6fac33
|
@ -140,13 +140,13 @@ if dpkg --compare-versions "$ver_live_build" lt 1:20151215kali1; then
|
|||
fi
|
||||
|
||||
# Check we have a good debootstrap
|
||||
ver_debootstrap=$(dpkg-query -f '${Version}' -W debootstrap)
|
||||
if dpkg --compare-versions "$ver_debootstrap" lt "1.0.97"; then
|
||||
if ! echo "$ver_debootstrap" | grep -q kali; then
|
||||
echo "ERROR: You need debootstrap >= 1.0.97 (or a Kali patched debootstrap). Your current version: $ver_debootstrap" >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
#ver_debootstrap=$(dpkg-query -f '${Version}' -W debootstrap)
|
||||
#if dpkg --compare-versions "$ver_debootstrap" lt "1.0.97"; then
|
||||
# if ! echo "$ver_debootstrap" | grep -q kali; then
|
||||
# echo "ERROR: You need debootstrap >= 1.0.97 (or a Kali patched debootstrap). Your current version: $ver_debootstrap" >&2
|
||||
# exit 1
|
||||
# fi
|
||||
#fi
|
||||
|
||||
# We need root rights at some point
|
||||
if [ "$(whoami)" != "root" ]; then
|
||||
|
|
Caricamento…
Fai riferimento in un nuovo problema