Skip to content

Commit

Permalink
Avoid using lsb_release
Browse files Browse the repository at this point in the history
This is from an optional package.  Instead rely on sh and /etc/lsb-release.
  • Loading branch information
ctz committed May 2, 2024
1 parent 4f68927 commit 5394c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rustls-libssl/dist/bin/rustls-libssl-nginx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
NGINX_DROP_IN_DIR=/etc/systemd/system/nginx.service.d/
DROP_IN=/usr/share/rustls-libssl/50-rustls-libssl.conf

distro=$(lsb_release --short --id 2>/dev/null || echo "Unknown")
distro=$(. /etc/lsb-release && echo $DISTRIB_ID || echo "Unknown")

case $distro in
"Debian")
Expand Down

0 comments on commit 5394c7e

Please sign in to comment.