X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=lk;h=51b91d955d5d637a8f49c59c3f345bd96053b23d;hp=5bd5833d158363576beaf82744012334dbf79615;hb=ee5c5007f3426705012f2943c345b1194a988c62;hpb=05e47f6734e5a9354a3243686ae55fe4ab2b72c7 diff --git a/lk b/lk index 5bd5833..51b91d9 100644 --- a/lk +++ b/lk @@ -42,7 +42,7 @@ if grep -q ID=ubuntu /etc/os-release; then # add universe, pxe-kexec is there sed -ri '/^\s*deb/{/universe/!s/$/ universe/}' /etc/apt/sources.list fi -if ! type -p pxe-kexec &>/dev/null; then +if ! type -p pxe-kexec >/dev/null 2>&1; then apt-get update apt-get install -y debconf debconf-set-selections <