Update package name to cec-utils for Raspberry Pi OS
Change installation instructions from libcec-rpi to cec-utils which is the correct package name for Raspberry Pi OS (Raspbian). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# CEC Control Script for Raspberry Pi 4
|
||||
# Requires: libcec (cec-client)
|
||||
# Install with: sudo apt-get install libcec-rpi
|
||||
# Requires: cec-utils
|
||||
# Install with: sudo apt-get install cec-utils
|
||||
|
||||
CEC_CLIENT="cec-client"
|
||||
|
||||
# Check if cec-client is installed
|
||||
if ! command -v $CEC_CLIENT &> /dev/null; then
|
||||
echo "Error: cec-client not found"
|
||||
echo "Install with: sudo apt-get install libcec-rpi"
|
||||
echo "Install with: sudo apt-get install cec-utils"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user