Skip to content

Commit

Permalink
Switched to /etc/debian_version for Debian/Ubuntu distribution recogn…
Browse files Browse the repository at this point in the history
…ition in post-install.

closes #526
closes #525
  • Loading branch information
Ross McDonald authored and sparrc committed Jan 15, 2016
1 parent e8907ac commit 7bfb429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ if [[ -f /etc/redhat-release ]]; then
install_init
install_chkconfig
fi
elif [[ -f /etc/lsb-release ]]; then
elif [[ -f /etc/debian_version ]]; then
# Debian/Ubuntu logic
which systemctl &>/dev/null
if [[ $? -eq 0 ]]; then
Expand Down

0 comments on commit 7bfb429

Please sign in to comment.