Skip to content

Commit 25354a9

Browse files
committed
fix: bookworm has a different libcamera related package
1 parent 42a4564 commit 25354a9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scripts/04-update-libcamera-apps

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,10 @@ export LC_ALL=C
66
source /common.sh
77
install_cleanup_trap
88

9-
apt-get install --yes --only-upgrade libcamera-apps-lite
9+
if [ "$(lsb_release -cs)" == "bullseye" ]; then
10+
package="libcamera-apps-lite"
11+
else
12+
package="rpicam-apps-lite"
13+
fi
14+
15+
apt-get install --yes --only-upgrade $package

0 commit comments

Comments
 (0)