Skip to content

Commit 7bfb429

Browse files
Ross McDonaldsparrc
Ross McDonald
authored andcommitted
Switched to /etc/debian_version for Debian/Ubuntu distribution recognition in post-install.
closes influxdata#526 closes influxdata#525
1 parent e8907ac commit 7bfb429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/post-install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if [[ -f /etc/redhat-release ]]; then
5656
install_init
5757
install_chkconfig
5858
fi
59-
elif [[ -f /etc/lsb-release ]]; then
59+
elif [[ -f /etc/debian_version ]]; then
6060
# Debian/Ubuntu logic
6161
which systemctl &>/dev/null
6262
if [[ $? -eq 0 ]]; then

0 commit comments

Comments
 (0)