diff options
| author | 0.alpha <meJustPlay@163.com> | 2022-05-11 20:35:13 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-11 20:35:13 +0800 |
| commit | 9239045e317fc1ea17fefb294f50ed49b02e1ec6 (patch) | |
| tree | 0abed7ba74777b01797a29a5902232e83cde7ece /install.sh | |
| parent | e2134a3d5192db7be91b62f918cc6194e4096515 (diff) | |
| download | cachepc-amdsev-9239045e317fc1ea17fefb294f50ed49b02e1ec6.tar.gz cachepc-amdsev-9239045e317fc1ea17fefb294f50ed49b02e1ec6.zip | |
Update install.sh
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,13 +3,13 @@ [ -e /etc/os-release ] && . /etc/os-release # This will install all the dependent packages for qemu and ovmf to run -if [ "$ID_LIKE" = "debian" ]; then +if [ "$ID" = "debian" ] || [ "$ID_LIKE" = "debian" ]; then apt-get -y install qemu ovmf else dnf install qemu edk2-ovmf fi -if [ "$ID_LIKE" = "debian" ]; then +if [ "$ID" = "debian" ] || [ "$ID_LIKE" = "debian" ]; then dpkg -i linux/host/linux-image-*.deb else rpm -ivh linux/kernel-*.rpm |
