deploy-workbench.sh: bugfix wrong check
This commit is contained in:
parent
f1de55e0b3
commit
8fc62ba8da
|
@ -382,7 +382,7 @@ prepare_chroot_env() {
|
||||||
if [ -z "${VERSION_CODENAME:-}" ]; then
|
if [ -z "${VERSION_CODENAME:-}" ]; then
|
||||||
. /etc/os-release
|
. /etc/os-release
|
||||||
echo "TAKING OS-RELEASE FILE"
|
echo "TAKING OS-RELEASE FILE"
|
||||||
if [ "${ID}" = "debian" ]; then
|
if [ ! "${ID}" = "debian" ]; then
|
||||||
echo "ERROR: ubuntu detected, then you are enforced to specify debian variant"
|
echo "ERROR: ubuntu detected, then you are enforced to specify debian variant"
|
||||||
echo " use for example \`VERSION_CODENAME='bookworm'\` or similar"
|
echo " use for example \`VERSION_CODENAME='bookworm'\` or similar"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue