Skip to content

Commit 7602545

Browse files
committed
Make Proxmox script posix again
Signed-off-by: Tommy <[email protected]>
1 parent 51e8235 commit 7602545

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Proxmox-8.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
# Copyright (C) 2021-2025 Thien Tran
44
#
@@ -62,7 +62,7 @@ apt-get full-upgrade -y
6262
apt-get autoremove -y
6363

6464
CPU=$(grep vendor_id /proc/cpuinfo)
65-
if [[ "${CPU}" == *"AuthenticAMD"* ]]; then
65+
if [ "${CPU}" = "*AuthenticAMD*" ]; then
6666
microcode=amd64-microcode
6767
else
6868
microcode=intel-microcode

0 commit comments

Comments
 (0)