mirror of
https://github.com/aclist/dztui.git
synced 2026-10-26 04:32:39 +01:00
fix: conditional operator
This commit is contained in:
1 parent
24a1a8211e
commit
80babbfea8
1 file changed
+2
-2
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -o pipefail
|
||||
|
||||
version=5.3.3-beta.6
|
||||
version=5.3.3-beta.7
|
||||
|
||||
#CONSTANTS
|
||||
aid=221100
|
||||
@@ -380,7 +380,7 @@ test_display_mode(){
|
||||
check_architecture(){
|
||||
local cpu=$(< /proc/cpuinfo awk -F": " '/AMD Custom APU [0-9]{4}$/ {print $2; exit}')
|
||||
read -a APU_MODEL <<< "$cpu"
|
||||
if [[ ${APU_MODEL[3]} != "0932" ]] || [[ ${APU_MODEL[3]} != "0405" ]]; then
|
||||
if [[ ${APU_MODEL[3]} != "0932" ]] && [[ ${APU_MODEL[3]} != "0405" ]]; then
|
||||
is_steam_deck=0
|
||||
logger INFO "Setting architecture to 'desktop'"
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user