fixed duplicate case

This commit is contained in:
Andrew Titmuss 2016-03-11 10:39:05 +11:00
parent d1f7c47e0c
commit 467ca792c9
1 changed files with 5 additions and 7 deletions

View File

@ -871,17 +871,15 @@ getcpu () {
cpu=${cpu#*@ } cpu=${cpu#*@ }
;; ;;
"on") "on" | "tiny")
cpu=${cpu/Intel } cpu=${cpu/Intel }
cpu=${cpu/Core } cpu=${cpu/Core }
cpu=${cpu/Core? Duo }
cpu=${cpu/AMD } cpu=${cpu/AMD }
;;
"tiny") case "$cpu_shorthand" in
cpu=${cpu/Intel } "tiny") cpu${cpu/@*} ;;
cpu=${cpu/Core } esac
cpu=${cpu/AMD }
cpu=${cpu/@*}
;; ;;
esac esac
} }