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

This commit is contained in:
Ross McDonald 2016-01-15 09:51:04 -06:00
parent e8907acd28
commit 19eba148e9
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