Bail out if architecture isn't set nor can be identified automatically
authorMichael Prokop <mika@grml.org>
Fri, 21 May 2021 14:28:49 +0000 (16:28 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 21 May 2021 14:32:07 +0000 (16:32 +0200)
commit360e057dcc7b4275db1f5ad6ce66c4aa02a3d2d4
treed86e034725fcea2942e3c8295298eadbacd38934
parent4d625ea05ba167d60766f86f2ff2edad2cfd561a
Bail out if architecture isn't set nor can be identified automatically

If `dpkg --print-architecture` isn't available for detecting the current
architecture (e.g. on non-Debian), and neither $ARCH is set nor `--arch
...` was specified, abort and inform user about it.

Closes: grml/grml-debootstrap#173
grml-debootstrap