This commit is contained in:
Daniel Langbein 2021-05-13 20:23:32 +02:00
parent 8fc8fa8944
commit 30052ed04c
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
_pkgname=installer
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.1.1
pkgver=0.1.2
pkgrel=1
pkgdesc="Bash script to install Arch Linux"
arch=('any')

View File

@ -140,7 +140,7 @@ function run_pacstrap() {
case "${BIOS_TYPE}" in
uefi)
PKGS+=('de-p1st-base-efi')
PKGS+=('de-p1st-base')
;;
bios)
echo "Not yet implemented"

View File

@ -60,7 +60,7 @@ function get_cpu_vendor() {
if [[ -z "${CPU_VENDOR}" ]] || [[ "${CPU_VENDOR}" == "autodetect" ]]; then
# If run virtual environment (e.g. VirtualBox) then no CPU microcode is required
if cat /proc/cpuinfo | grep '^flags.*hypervisor'; then
if cat /proc/cpuinfo | grep '^flags.*hypervisor' >/dev/null; then
echo "Detected virtual environment."
CPU_VENDOR="none"