contribuciones en estancia con ekoa #1

Merged
pedro merged 17 commits from ekoa into main 2024-09-28 02:16:28 +00:00
1 changed files with 5 additions and 0 deletions
Showing only changes of commit 0545a2f460 - Show all commits

View File

@ -390,6 +390,11 @@ 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
echo "ERROR: ubuntu detected, then you are enforced to specify debian variant"
echo " use for example \`VERSION_CODENAME='bookworm'\` or similar"
exit 1
fi
fi fi
chroot_path="${ISO_PATH}/chroot" chroot_path="${ISO_PATH}/chroot"