Switched to /etc/debian_version for Debian/Ubuntu distribution recognition in post-install.
This commit is contained in:
parent
e8907acd28
commit
19eba148e9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue