Switched to /etc/debian_version for Debian/Ubuntu distribution recognition in post-install.
closes #526 closes #525
This commit is contained in:
parent
e8907acd28
commit
7bfb42946e
|
@ -56,7 +56,7 @@ if [[ -f /etc/redhat-release ]]; then
|
||||||
install_init
|
install_init
|
||||||
install_chkconfig
|
install_chkconfig
|
||||||
fi
|
fi
|
||||||
elif [[ -f /etc/lsb-release ]]; then
|
elif [[ -f /etc/debian_version ]]; then
|
||||||
# Debian/Ubuntu logic
|
# Debian/Ubuntu logic
|
||||||
which systemctl &>/dev/null
|
which systemctl &>/dev/null
|
||||||
if [[ $? -eq 0 ]]; then
|
if [[ $? -eq 0 ]]; then
|
||||||
|
|
Loading…
Reference in New Issue