Skip to content

Commit 42a4564

Browse files
committed
feat: use lsb_release for setting custom repo
1 parent 1e3a7d8 commit 42a4564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/01-add-octoprint-apt-repo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ source /common.sh
77
install_cleanup_trap
88

99
curl -s --compressed "https://apt.octoprint.org/octoprint.gpg.key" | gpg --dearmor > /etc/apt/trusted.gpg.d/octoprint.gpg
10-
curl -s --compressed -o /etc/apt/sources.list.d/octoprint-rpi.list "https://apt.octoprint.org/octoprint-bullseye-rpi.list"
10+
echo "deb https://apt.octoprint.org/debian $(lsb_release -cs) rpi" > /etc/apt/sources.list.d/octoprint-rpi.list
1111
apt-get update

0 commit comments

Comments
 (0)