mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
code refactoring
This commit is contained in:
parent
6d2a8a2ec4
commit
7305fa4f0a
6 changed files with 4 additions and 43 deletions
|
@ -149,12 +149,6 @@ msg_ok "Installed Python3"
|
|||
|
||||
read -r -p "Would you like to add Coral Edge TPU support? <y/N> " prompt
|
||||
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
|
||||
CORAL="Y"
|
||||
else
|
||||
CORAL="N"
|
||||
fi
|
||||
|
||||
if [[ $CORAL == "Y" ]]; then
|
||||
msg_info "Adding Coral Edge TPU Support"
|
||||
$STD apt-key add <(curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg)
|
||||
sh -c 'echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" > /etc/apt/sources.list.d/coral-edgetpu.list'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue