Switched to /etc/debian_version for Debian/Ubuntu distribution recognition in post-install.

closes #526
closes #525
This commit is contained in:
Ross McDonald 2016-01-15 09:51:04 -06:00 committed by Cameron Sparr
parent e8907acd28
commit 7bfb42946e
1 changed files with 1 additions and 1 deletions

View File

@ -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